Fix nav menu squeezed on Firefox

This commit is contained in:
Lim Chee Aun 2023-05-23 10:58:33 +08:00
parent 5e181afb8c
commit 17334de24a

View file

@ -3,6 +3,7 @@
display: flex;
width: auto;
padding: 0;
min-width: 22em;
}
.nav-menu section {
padding: 8px 0;
@ -41,3 +42,9 @@
white-space: normal;
}
}
@media (min-width: 40em) {
.nav-menu {
width: 28em;
}
}