Skip to content

Commit 47277f0

Browse files
authored
Fix search on mobile (#370)
1 parent 700006a commit 47277f0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/css/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,4 +2332,13 @@ html {
23322332
/* Ensure consistent spacing for all tutorial video links */
23332333
.menu__list-item:has(> a[href^="https://www.youtube.com/watch"]) {
23342334
margin-bottom: 0 !important;
2335+
}
2336+
2337+
/* ============================================
2338+
FIX: SEARCH INPUT TINY BUBBLE ON MOBILE
2339+
============================================ */
2340+
2341+
/* Override Docusaurus default that makes search input 2rem when not focused */
2342+
.navbar__search-input:not(:focus) {
2343+
min-width: 80px !important;
23352344
}

0 commit comments

Comments
 (0)