« get me outta code hell

css: adapt search sidebar box height to (short) banner - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-31 16:57:58 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-31 16:59:09 -0300
commit493feb9b5cb5224487bbff7ecf10dfbfdec9bb64 (patch)
treee28be9c2bfcf8a83e410b5de64a5be31fe9d28b7 /src/static/css
parenta96453c584f427ee23d787a1783d5c0a9d14f436 (diff)
css: adapt search sidebar box height to (short) banner
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/search.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/css/search.css b/src/static/css/search.css
index d424c43d..3e344e64 100644
--- a/src/static/css/search.css
+++ b/src/static/css/search.css
@@ -12,6 +12,10 @@
     display: flex;
     flex-direction: column;
   }
+
+  #banner.short ~ * .wiki-search-sidebar-box {
+    --keep-viewport-visible: 180px;
+  }
 }
 
 @layer material {