diff --git a/lib/ui/search.tsx b/lib/ui/search.tsx index 5062854..f4c9ce9 100644 --- a/lib/ui/search.tsx +++ b/lib/ui/search.tsx @@ -107,10 +107,10 @@ export const Search: m.Component = { return ( -
0)?"search active":"search"} style={{position: "relative", display: "flex", flexGrow: "1"}}> +
0)?"search active flex grow":"search flex grow"}>
0)?"0":"1px"}}> - + div { width: 95%; @@ -342,4 +347,44 @@ hr { height: 72px; opacity: 0; } -} \ No newline at end of file +} + + +/*------------MOBILE------------*/ + +@media (max-width: 600px) { + + :root { + --padding: var(--2); + } + + .notice { + width: 100vw; + } +/*todo: this padding needs to stay to same as desktop +for alignment purposes. should probably center +the top nav in a more elegant way at some point*/ + .sidebar-topsection, .topbar { + padding: calc(var(--padding)*2); + } + + .search { + max-width: 100vw; + + } +} + + + + + + + + + + + + + + +