Skip to content

Commit 252fd7e

Browse files
committed
add note about the adjustment to the max-height of the dropdown menu for docsearch on mobile [skip ci]
1 parent cdc7eac commit 252fd7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/css/vendor/docsearch.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
box-shadow: var(--navbar-menu-box-shadow);
1919
display: flex !important;
2020
flex-direction: column;
21+
/* -4rem accounts for the height of the input, which is below the navbar */
2122
max-height: calc(var(--viewport-height) - var(--navbar-height) - 4rem);
2223
max-width: none;
2324
min-width: auto;

0 commit comments

Comments
 (0)