Fix submenu position in css

This commit is contained in:
Chen-I Lim 2021-01-04 10:58:11 -08:00
parent b47ae9197f
commit 2b6370daa4

View file

@ -73,6 +73,15 @@
width: 20px;
flex: 0 0 auto;
}
@media not screen and (max-width: 430px) {
&.top {
bottom: 100%;
}
&.left {
right: 0;
}
}
}
.Menu, .SubMenuOption .SubMenu {
@ -123,13 +132,6 @@
}
}
@media not screen and (max-width: 430px) {
&.top {
bottom: 100%;
}
&.left {
right: 0;
}
.hideOnWidescreen {
/* Hide controls (e.g. close button) on larger screens */
display: none !important;