diff --git a/web/index.html b/web/index.html index 416b474b..a39d71a1 100644 --- a/web/index.html +++ b/web/index.html @@ -97,14 +97,16 @@ display: block; } hr.sep { + border: 1px solid #bf616a70; + } + hr.sticky { + position: sticky; z-index: 100; margin-top: 0; padding-top: 0; margin-bottom: 0; padding-bottom: 0; - border: 1px solid #bf616a70; top: 1.65rem; - position: sticky; } div.sticky { z-index: 100; @@ -244,6 +246,9 @@ .depth-r { margin-left: .5em; } + .only-on-mobile { + display: none; + } @media screen and (max-width: 786px) { .depth-r { margin-left: .125em; @@ -251,9 +256,15 @@ .ml-1-r { margin-left: 0; } + .only-on-mobile { + display: inherit; + } .hidden-on-mobile { display: none; } + div.col-side { + padding-right: .25em; + } main { margin: 0; } diff --git a/web/src/app.rs b/web/src/app.rs index 16c6d672..863264e0 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -59,10 +59,12 @@ pub fn App() -> impl IntoView { /* TODO kinda jank with the float but whatever, will do for now */ -
+
+ +
impl IntoView { server_tl=server_tl />
- -
- {move || if advanced.get() { view! { - - }} else { view! { - - }}} +
+ {move || if advanced.get() { view! { + + }} else { view! { + + }}} +
+