Skip to content

Commit

Permalink
fix(docsearch): add padding to dropdown when no recent searches
Browse files Browse the repository at this point in the history
This applies when `disableUserPersonalization` is `true`.
  • Loading branch information
francoischalifour committed Jul 22, 2020
1 parent a738af0 commit f214d8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modal.css
Expand Up @@ -177,6 +177,7 @@
/* Modal Dropdown */

.DocSearch-Dropdown {
min-height: var(--docsearch-spacing);
max-height: calc(
var(--docsearch-modal-height) - var(--docsearch-searchbox-height) -
var(--docsearch-spacing) - var(--docsearch-footer-height)
Expand Down

0 comments on commit f214d8d

Please sign in to comment.