Skip to content

Commit

Permalink
fix: search cancel button narrow when 2-3 search results (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethidden authored Jun 21, 2022
1 parent 66e0b8f commit a24b522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/theme/components/Header/SearchBar/SearchResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export default defineComponent({
flex-direction: row;
flex: 1;
}
width: 100%;
}
&__results {
flex: 1;
Expand All @@ -226,7 +227,7 @@ export default defineComponent({
&--mobile {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
justify-content: flex-start;
background: var(--c-white);
padding: var(--spacer-base) var(--spacer-sm);
--product-card-max-width: 9rem;
Expand Down

0 comments on commit a24b522

Please sign in to comment.