Skip to content

Commit 12b760d

Browse files
committed
Header: Adjust margins and paddings
1 parent 761dea4 commit 12b760d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/components/header.module.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"logo search nav" auto /
1313
auto 1fr auto;
1414
align-items: center;
15-
padding: 10px;
15+
padding: 10px 20px;
1616
color: white;
1717

1818
a {
@@ -47,6 +47,8 @@
4747
.logo {
4848
width: 60px;
4949
height: auto;
50+
/* negative margin to account for blank space in the image */
51+
margin-left: -10px;
5052
margin-right: 10px;
5153
}
5254

@@ -60,8 +62,6 @@
6062
border: none;
6163
color: black;
6264
width: 100%;
63-
margin-left: 16px;
64-
margin-right: 16px;
6565
padding: 5px 5px 5px 25px;
6666
background-color: white;
6767
background-image: url('/assets/search.png');
@@ -80,6 +80,8 @@
8080

8181
.search-input-lg {
8282
composes: search-input;
83+
margin-left: 16px;
84+
margin-right: 16px;
8385

8486
@media only screen and (max-width: 820px) {
8587
display: none;
@@ -89,7 +91,7 @@
8991
.search-input-sm {
9092
composes: search-input;
9193
display: none;
92-
margin: 0 10px 10px;
94+
margin: 10px 0;
9395

9496
@media only screen and (max-width: 820px) {
9597
display: unset;

0 commit comments

Comments
 (0)