feat(sidebar): hide on mobile when navigation is complete

This commit is contained in:
Dmitry Nehaychik 2017-09-19 21:00:24 +03:00
parent 5839bdd3cf
commit d5db2d0614
6 changed files with 255 additions and 5 deletions

View file

@ -106,4 +106,25 @@
}
}
@include media-breakpoint-down(sm) {
nb-sidebar.menu-sidebar {
margin-top: 0;
/deep/ .main-container {
height: calc(#{nb-theme(sidebar-height)} - #{nb-theme(header-height)}) !important;
border-top-right-radius: 0;
.scrollable {
padding-top: 0;
}
}
}
.main-btn {
display: none;
}
}
}