Skip to content

Commit 84b4401

Browse files
committed
fixed media queries for mobile size to make sure button looked okay
1 parent c2dddbc commit 84b4401

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/components/NavBar.scss

+14-8
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
88

9-
@media (max-width: 391px) {
9+
@media (max-width: 430px) {
1010
font-size: 3rem !important;
1111
}
12-
@media (max-width: 345px) {
12+
@media (max-width: 375px) {
1313
font-size: 2.5rem !important;
1414
}
1515
}
@@ -40,15 +40,21 @@
4040
color: $primary-beige;
4141
font-weight: bold;
4242
border: none;
43-
font-size: 1.5rem;
44-
text-align: center;
45-
border: none;
46-
padding: 0.5rem;
47-
width: 11rem;
4843

4944
&:hover {
5045
background-color: $primary-beige;
5146
color: $secondary-blue;
52-
font-weight: bolder;
47+
}
48+
49+
@media (min-width: 431px) {
50+
font-size: 1.5rem;
51+
text-align: center;
52+
border: none;
53+
padding: 0.5rem;
54+
width: 11rem;
55+
}
56+
57+
@media (max-width: 430px) {
58+
background-color: $primary-beige;
5359
}
5460
}

0 commit comments

Comments
 (0)