From 3d120ac60e2ec728be784969673fe962724f3b96 Mon Sep 17 00:00:00 2001 From: Lann Martin Date: Thu, 10 Sep 2026 17:17:20 -0400 Subject: [PATCH] Visor: let desktop drawers use more viewport height --- visor/src/style.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/visor/src/style.rs b/visor/src/style.rs index baa2a493..d23d9318 100644 --- a/visor/src/style.rs +++ b/visor/src/style.rs @@ -138,16 +138,13 @@ pub(crate) const CSS: &str = r#" position: relative; z-index: 2; display: flex; flex-direction: column; box-sizing: border-box; - height: min(60svh, 480px); + height: 80svh; max-height: max(0px, calc(100svh - 56px - 96px)); overflow: hidden; background: var(--drawer); border-bottom: 1px solid var(--edge); animation: visor-drawer-open 180ms ease-out; } -/* A handheld has no room to spare beside the drawer, so it takes more of - the height (still under the same max-height cap above). */ -@media (max-width: 600px) { #visor-drawer { height: 80svh; } } #visor-drawer.closing { animation: visor-drawer-close 180ms ease-in forwards; } /* One pane per tenant, stacked so two can be on screen at once while one