Ensured sidebar does not overlap header in mobile resolutions

This commit is contained in:
Alejandro Celaya 2018-08-14 20:46:01 +02:00
parent cb9dc9d65e
commit 72f96a6d1d

View file

@ -8,16 +8,15 @@ $asideMenuMobileWidth: 280px;
position: fixed !important; position: fixed !important;
padding-top: 13px; padding-top: 13px;
padding-bottom: 10px; padding-bottom: 10px;
top: 0; top: $headerHeight - 3px;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: block; display: block;
z-index: 1050; z-index: 1010;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
@media (min-width: $mdMin) { @media (min-width: $mdMin) {
top: $headerHeight;
padding: 30px 15px 15px; padding: 30px 15px 15px;
border-right: 1px solid #eee; border-right: 1px solid #eee;
} }
@ -36,9 +35,7 @@ $asideMenuMobileWidth: 280px;
} }
.aside-menu__nav { .aside-menu__nav {
@media(min-width: $smMin) { height: 100%;
height: 100%;
}
} }
.aside-menu__item { .aside-menu__item {