From cd8e70bad644479d5bcbdfde4dee6a9dee0a9250 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 31 Mar 2026 16:19:52 -0300 Subject: css: never quite fill viewport height with search sidebar --- src/static/css/search.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/static/css/search.css') diff --git a/src/static/css/search.css b/src/static/css/search.css index a79fb20a..d424c43d 100644 --- a/src/static/css/search.css +++ b/src/static/css/search.css @@ -5,7 +5,9 @@ padding: 1px 0 0 0; z-index: 100; - max-height: calc(100vh - 20px); + + --keep-viewport-visible: 125px; + max-height: max(245px, 60vh, calc(100vh - var(--keep-viewport-visible))); display: flex; flex-direction: column; -- cgit 1.3.0-6-gf8a5