fix(theme): set search box min-width for >=751px (#286)

pull/312/head
dnischeta 3 years ago committed by GitHub
parent 6b4a4aa7a6
commit 9589a5d0e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,13 +155,12 @@ function initialize(userOptions: any) {
@media (min-width: 720px) {
.algolia-search-box {
padding-left: 8px;
min-width: 176.3px; /* avoid layout shift */
}
}
@media (min-width: 751px) {
.algolia-search-box {
padding-left: 8px;
min-width: 176.3px; /* avoid layout shift */
}
.algolia-search-box .DocSearch-Button-Placeholder {

Loading…
Cancel
Save