Skip to content

Commit 40bb43c

Browse files
committed
SearchForm: Convert margin to parent padding
1 parent 8941113 commit 40bb43c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/components/search-form.module.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
.form {
22
display: flex;
3+
padding: 0 16px;
4+
5+
@media only screen and (max-width: 820px) {
6+
padding: 10px 0;
7+
}
38
}
49

510
.input {
@@ -8,7 +13,6 @@
813
color: black;
914
width: 100%;
1015
padding: 5px 5px 5px 25px;
11-
margin: 0 16px;
1216
background-color: white;
1317
background-image: url('/assets/search.png');
1418
background-repeat: no-repeat;
@@ -22,10 +26,6 @@
2226
outline: none;
2327
box-shadow: 0 0 0 4px var(--yellow500);
2428
}
25-
26-
@media only screen and (max-width: 820px) {
27-
margin: 10px 0;
28-
}
2929
}
3030

3131
.input-lg {

0 commit comments

Comments
 (0)