Skip to content

Commit 3bd6858

Browse files
authored
Merge pull request bchiang7#244 from bchiang7/fix/mobile-hero
Fix mobile hero
2 parents 39dc6a7 + 25350c6 commit 3bd6858

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/sections/hero.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ const StyledHeroSection = styled.section`
1212
height: 100vh;
1313
padding: 0;
1414
15-
@media (max-width: 480px) and (min-height: 700px) {
16-
padding-bottom: 10vh;
17-
}
18-
19-
@media (max-height: 650px) {
15+
@media (max-height: 700px) and (min-width: 700px), (max-width: 360px) {
2016
height: auto;
21-
padding-top: calc(var(--nav-height) + 30px);
17+
padding-top: var(--nav-height);
2218
}
2319
2420
h1 {

0 commit comments

Comments
 (0)