From 8b62bf10ffbb6561985018c5a669a7498cff86cb Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 7 Apr 2026 17:45:22 -0500 Subject: [PATCH] Fix search module dropping to new row in header (#117) Remove width: 100% from .container-search that forced it to wrap. Change desktop media query from flex: 1 1 100% to flex: 1 1 auto with min-width: 200px so the search grows to fill remaining space alongside the menu without forcing a new row. Closes #117 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/media/css/template.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/media/css/template.css b/src/media/css/template.css index 4e357e7..20adf82 100644 --- a/src/media/css/template.css +++ b/src/media/css/template.css @@ -14486,7 +14486,6 @@ li.current a { .container-header .container-search { margin-top: 0.75em; - width: 100%; } .container-header .container-search .mod-finder, @@ -18676,8 +18675,8 @@ nav[data-toggle=toc] .nav-link.active+ul{ } .container-header .container-search { - flex: 1 1 100%; - width: 100%; + flex: 1 1 auto; + min-width: 200px; margin-top: 0; } }