From 9589a5d0e6458da07054a84d2df6ef99a5ad1dbd Mon Sep 17 00:00:00 2001 From: dnischeta <55282960+dnischeta@users.noreply.github.com> Date: Thu, 27 May 2021 13:18:29 +0500 Subject: [PATCH] fix(theme): set search box min-width for >=751px (#286) --- src/client/theme-default/components/AlgoliaSearchBox.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/theme-default/components/AlgoliaSearchBox.vue b/src/client/theme-default/components/AlgoliaSearchBox.vue index 8b7af040..05ec4491 100644 --- a/src/client/theme-default/components/AlgoliaSearchBox.vue +++ b/src/client/theme-default/components/AlgoliaSearchBox.vue @@ -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 {