Skip to content

Commit

Permalink
update predictive search container width on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
metamoni committed Aug 4, 2022
1 parent 812da50 commit ac79cfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/component-predictive-search.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.predictive-search {
width: calc(100% + 0.2rem);
display: none;
position: absolute;
top: calc(100% + 0.1rem);
Expand All @@ -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) {
Expand All @@ -37,6 +37,7 @@
@media screen and (min-width: 750px) {
.predictive-search {
border-top: none;
width: calc(100% + 0.2rem);
}

.header predictive-search {
Expand Down

0 comments on commit ac79cfb

Please sign in to comment.