« get me outta code hell

css: finesse search box height in wide/medium layout - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-28 17:49:09 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-28 17:49:09 -0400
commit30a817020a548351b3ef44276d130858d328685b (patch)
tree9bb1fe39c6b84e7e6b621cd306603c015f80e8fd /src
parentdaa8fcfe3c9b7de2faa5bb61f6d0487c7b91ff5b (diff)
css: finesse search box height in wide/medium layout
Diffstat (limited to 'src')
-rw-r--r--src/static/css/site.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index 514154a5..8bb978e0 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -3097,6 +3097,10 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content
   .grid-listing > .grid-item {
     flex-basis: 40%;
   }
+
+  .wiki-search-sidebar-box {
+    max-height: max(245px, 60vh, calc(100vh - 205px));
+  }
 }
 
 /* Layout - Thin (phones) */