Skip to content

Commit ca26d50

Browse files
committed
SearchForm: Move top-level padding to parent component
1 parent 40bb43c commit ca26d50

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/components/header.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454

5555
.search-form {
5656
grid-area: search;
57+
padding: 0 16px;
58+
59+
@media only screen and (max-width: 820px) {
60+
padding: 10px 0;
61+
}
5762
}
5863

5964
.sep {

app/components/search-form.module.css

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

105
.input {

0 commit comments

Comments
 (0)