fixing body behaviuour when menu renovateur opened

This commit is contained in:
Antoine M 2024-01-23 17:24:34 +01:00
parent a5ffcd9b77
commit d922848abf

View File

@ -1,3 +1,15 @@
/* Handling background page scroll */
body:has(.menu-renovateur .sub-menu--open) {
@apply overflow-hidden;
@media screen and (max-width: 960px) {
/* FIXING BUG ON SAFARI */
.menu-renovateur__mobile-menu-toggle,
main {
@apply hidden;
}
}
}
header#main-header {
@apply flex
flex-col-reverse