RESPONSIVE FIX on menu tweaks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e868aeabc5
commit
e194542db3
|
|
@ -1,18 +1,24 @@
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
header[nav-open='true'] {
|
header[nav-open='true'] {
|
||||||
@apply fixed w-full z-50 top-0 left-0 bg-primary;
|
@apply fixed w-full z-50 top-0 left-0 bg-primary;
|
||||||
|
|
||||||
@apply max-h-screen min-h-screen overflow-y-scroll;
|
@apply max-h-screen min-h-screen overflow-y-scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .secondary-menu-container,
|
header .secondary-menu-container,
|
||||||
|
header .primary-menu-container,
|
||||||
header #primary-menu {
|
header #primary-menu {
|
||||||
@apply hidden;
|
@apply hidden;
|
||||||
}
|
}
|
||||||
header[nav-open='true'] .secondary-menu-container,
|
header[nav-open='true'] .secondary-menu-container,
|
||||||
|
header[nav-open='true'] .primary-menu-container,
|
||||||
header[nav-open='true'] #primary-menu {
|
header[nav-open='true'] #primary-menu {
|
||||||
@apply block;
|
@apply block;
|
||||||
}
|
}
|
||||||
|
header[nav-open='true'] .menu-mobile-brand {
|
||||||
|
.menu-mobile-brand__inner-elements {
|
||||||
|
@apply hidden opacity-0;
|
||||||
|
}
|
||||||
|
}
|
||||||
#primary-menu {
|
#primary-menu {
|
||||||
@apply !bg-transparent;
|
@apply !bg-transparent;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
@apply mx-auto
|
@apply mx-auto
|
||||||
bg-primary
|
bg-primary
|
||||||
text-white
|
text-white
|
||||||
|
min-w-full
|
||||||
relative
|
relative
|
||||||
h-fit
|
h-fit
|
||||||
py-0
|
py-0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user