From 812da50d979609d2e25ed19d39664c8b848cc2f4 Mon Sep 17 00:00:00 2001 From: Monica Mateiu Date: Wed, 27 Jul 2022 16:46:37 +0100 Subject: [PATCH 1/2] update predictive search container width --- assets/component-predictive-search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/component-predictive-search.css b/assets/component-predictive-search.css index b04ee04027c..fa8435d0309 100644 --- a/assets/component-predictive-search.css +++ b/assets/component-predictive-search.css @@ -1,4 +1,5 @@ .predictive-search { + width: calc(100% + 0.2rem); display: none; position: absolute; top: calc(100% + 0.1rem); @@ -36,7 +37,6 @@ @media screen and (min-width: 750px) { .predictive-search { border-top: none; - width: calc(100% + 0.2rem); } .header predictive-search { From ac79cfbff85ce4c6f656589ffe9366d889c7dfe9 Mon Sep 17 00:00:00 2001 From: Monica Mateiu Date: Thu, 4 Aug 2022 09:32:52 +0100 Subject: [PATCH 2/2] update predictive search container width on small screens --- assets/component-predictive-search.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/component-predictive-search.css b/assets/component-predictive-search.css index fa8435d0309..84c09d64e9f 100644 --- a/assets/component-predictive-search.css +++ b/assets/component-predictive-search.css @@ -1,5 +1,4 @@ .predictive-search { - width: calc(100% + 0.2rem); display: none; position: absolute; top: calc(100% + 0.1rem); @@ -15,7 +14,8 @@ } .predictive-search--search-template { - z-index: 2 + z-index: 2; + width: calc(100% + 0.2rem); } @media screen and (max-width: 749px) { @@ -37,6 +37,7 @@ @media screen and (min-width: 750px) { .predictive-search { border-top: none; + width: calc(100% + 0.2rem); } .header predictive-search {