From fe5927bae1ec4a4d4d1955bac57b5006551c48d7 Mon Sep 17 00:00:00 2001 From: suntiwari3495-arch Date: Fri, 31 Oct 2025 06:18:52 +0000 Subject: [PATCH 1/2] fix the navbar search responsiveness issue Signed-off-by: suntiwari3495-arch --- website/src/css/global.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/website/src/css/global.css b/website/src/css/global.css index 01f535ef..3fd2dec4 100644 --- a/website/src/css/global.css +++ b/website/src/css/global.css @@ -128,6 +128,7 @@ background: transparent !important; height: 32px !important; width: 250px !important; + max-width: 100%; } .DocSearch-Button-Key { @@ -156,6 +157,43 @@ margin-right: 8px; } +@media screen and (max-width: 996px) { + .navbarSearchContainer_Bca1 { + padding: 4px 8px !important; + margin-right: 4px; + border-right: none !important; + } +} + +@media screen and (max-width: 768px) { + .DocSearch-Button { + width: 180px !important; + } + + .navbar { + padding: 0px 12px; + } +} + +@media screen and (max-width: 480px) { + .DocSearch-Button { + width: 120px !important; + } + + .DocSearch-Button-Placeholder { + font-size: 11px; + } + + .navbar { + padding: 0px 8px; + } + + .navbarSearchContainer_Bca1 { + padding: 4px !important; + margin-right: 2px; + } +} + html { font-family: 'Work Sans', sans-serif; } From d3706bf68e267dd72326c4df76d61fefc45c780e Mon Sep 17 00:00:00 2001 From: codeEvolveZenith345 Date: Tue, 4 Nov 2025 11:18:32 +0000 Subject: [PATCH 2/2] fix/ change width from 120 to 150 Signed-off-by: codeEvolveZenith345 --- website/src/css/global.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/css/global.css b/website/src/css/global.css index 3fd2dec4..eec0f426 100644 --- a/website/src/css/global.css +++ b/website/src/css/global.css @@ -177,7 +177,7 @@ @media screen and (max-width: 480px) { .DocSearch-Button { - width: 120px !important; + width: 150px !important; } .DocSearch-Button-Placeholder {