From 45e4c15d2db31acc90a687c7e274e7ed3e5ab8d7 Mon Sep 17 00:00:00 2001 From: bxjyj <68038449+bxjyj@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:22:35 -0400 Subject: [PATCH] Searchbar Dynamically Resizes (#1985) Fixed Searchbar sizing --- src/main/resources/static/css/navbar.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/css/navbar.css b/src/main/resources/static/css/navbar.css index 96255e0c..7db82462 100644 --- a/src/main/resources/static/css/navbar.css +++ b/src/main/resources/static/css/navbar.css @@ -7,8 +7,8 @@ } #navbarSearch.show { - max-height: 300px; - /* Adjust this to your desired max height */ + height: auto; + /*dynamically changes height*/ } #searchResults .dropdown-item { @@ -268,6 +268,7 @@ span.icon-text::after { /* Dropdown min-width */ .dropdown-mw-28 { min-width: 280px; + min-height: 50px; } .dropdown-mw-20 { @@ -314,6 +315,7 @@ span.icon-text::after { display: block; margin-top: 0; } + .icon-hide { display: none; }