Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use single media query for mobile devices instead of two separate que…
…ries
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 9d5d482 commit 1f31cca
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions index.css
Expand Up @@ -82,13 +82,8 @@ button:focus-visible {
visibility: hidden;
}

@media (max-width: 1350px) {
.desktop-nav {
flex-wrap: wrap;
visibility: hidden;
}

.mobile-nav {
visibility: visible;
@media (max-width: 1280px) {
.nav-links {
display: none;
}
}

0 comments on commit 1f31cca

Please sign in to comment.