Skip to content

Commit

Permalink
fix: adjust search bar responsiveness in css
Browse files Browse the repository at this point in the history
  • Loading branch information
naji committed Sep 8, 2024
1 parent 8bc3a9a commit a1c919a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/ProductList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,19 @@
align-items: center;
gap: 4px;
background-color: var(--gray100);
padding: 9px 70px 9px 16px;
padding: 9px 16px;
border-radius: 12px;
font-size: 1rem;
font-weight: 400;
line-height: 1.625rem;
text-align: left;
flex: 1 0 80%;
order: 1;
min-width: 200px;
}

.inputContainer > input {
min-width: 200px;
}

.inputContainer > img {
Expand Down Expand Up @@ -79,6 +84,7 @@
.inputContainer {
flex: 0 1 auto;
order: 0;
padding-right: 24px;
}

.products {
Expand All @@ -89,6 +95,10 @@
}

@media screen and (min-width: 1200px) {
.inputContainer {
padding-right: 107px;
}

.products {
grid-template-columns: repeat(5, 1fr);
column-gap: 24px;
Expand Down

0 comments on commit a1c919a

Please sign in to comment.