Skip to content

Commit

Permalink
Merge pull request #244 from bchiang7/fix/mobile-hero
Browse files Browse the repository at this point in the history
Fix mobile hero
  • Loading branch information
bchiang7 committed Dec 13, 2022
2 parents 39dc6a7 + 25350c6 commit 3bd6858
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/sections/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ const StyledHeroSection = styled.section`
height: 100vh;
padding: 0;
@media (max-width: 480px) and (min-height: 700px) {
padding-bottom: 10vh;
}
@media (max-height: 650px) {
@media (max-height: 700px) and (min-width: 700px), (max-width: 360px) {
height: auto;
padding-top: calc(var(--nav-height) + 30px);
padding-top: var(--nav-height);
}
h1 {
Expand Down

0 comments on commit 3bd6858

Please sign in to comment.