Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #722 from dylanbuchi/main
Browse files Browse the repository at this point in the history
fix: fix mobile menu layout for landscape mode
  • Loading branch information
AnuragThePathak authored Aug 4, 2023
2 parents d5d8795 + ba75a36 commit 39275e5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/layout/Navbar/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,16 @@
transform: translateY(0%);
}
}

@media (max-height: 500px) and (orientation: landscape) {
.navMobile {
flex-direction: row;
font-size: 1.5rem;
}
}

@media (max-width: 840px) and (max-height: 500px) and (orientation: landscape) {
.navMobile {
font-size: 1rem;
}
}

0 comments on commit 39275e5

Please sign in to comment.