Skip to content

Commit

Permalink
feat: ✨ add styles for menu on smaller screens (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
Potherca authored Oct 31, 2024
1 parent 22396ff commit 0104f7a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions mvp.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,23 @@ nav ul li ul li a {
display: block;
}

/* Nav for Mobile */
@media (max-width: 768px) {
nav {
flex-wrap: wrap;
}

nav ul li {
width: calc(100% - 1em);
}

nav ul li ul {
border: none; box-shadow: none;
display: block;
position: static;
}
}

/* Typography */
code,
samp {
Expand Down

0 comments on commit 0104f7a

Please sign in to comment.