Skip to content

Commit

Permalink
fix(theme): set search box min-width for >=751px (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnischeta committed May 27, 2021
1 parent 6b4a4aa commit 9589a5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/theme-default/components/AlgoliaSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9589a5d

Please sign in to comment.