Skip to content

Commit 9e9134a

Browse files
committed
Header: Adjust margins and paddings
1 parent 761dea4 commit 9e9134a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/components/header.module.css

Lines changed: 6 additions & 6 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;
@@ -115,7 +117,6 @@
115117
display: flex;
116118
align-items: center;
117119
text-align: right;
118-
margin-right: 5px;
119120

120121
@media only screen and (max-width: 900px) {
121122
display: none;
@@ -125,7 +126,6 @@
125126
.menu {
126127
grid-area: menu;
127128
text-align: right;
128-
margin-right: 5px;
129129
display: none;
130130

131131
@media only screen and (max-width: 900px) {

0 commit comments

Comments
 (0)