refining responsiveness (scroll menu on mobile please)
This commit is contained in:
parent
42bdaaf103
commit
96d6ec0181
|
|
@ -1,5 +1,5 @@
|
|||
nav.main-menu {
|
||||
@apply absolute top-0 left-0 py-3 pr-6 w-full flex gap-6 justify-between md:justify-end;
|
||||
@apply absolute top-0 left-0 py-3 px-6 w-full flex gap-6 justify-between md:justify-end;
|
||||
z-index: 48;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
|
@ -12,10 +12,13 @@ nav.main-menu {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
.menu[open] {
|
||||
@apply overflow-y-auto;
|
||||
}
|
||||
.menu {
|
||||
@apply bg-lhoist w-full h-screen fixed bottom-0 left-0;
|
||||
height: 100dvh;
|
||||
box-sizing: border-box;
|
||||
// &[open] {
|
||||
// @apply block;
|
||||
// }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user