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

Commit

Permalink
fix: fix mobile menu layout for landscape mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbuchi committed Jul 19, 2023
1 parent e398594 commit ba75a36
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 ba75a36

Please sign in to comment.