fix: mobile white submenu

This commit is contained in:
Jean-Baptiste Pasquier
2021-04-06 13:58:24 +02:00
parent 45fda6a2c4
commit 0945a3a9fc
5 changed files with 14 additions and 4 deletions

View File

@ -116,10 +116,12 @@ nav#main__menu {
margin-right: 5px;
}
/* For the icon and the small sub-sub-menu*/
&:not(:hover) .menu-options,
&:not(:hover) .menu-admin {
display: none;
@media (min-width: 768.01px) {
&:not(:hover) .menu-options,
&:not(:hover) .menu-admin {
display: none;
}
}
.menu-options {
@ -140,6 +142,9 @@ nav#main__menu {
height: 9vh;
top: 0;
text-align: center;
position: fixed;
top: 50px;
height: calc(100% - 50px);
}
}
}