fix(aio): adjust SideNav top to avoid extra whitespace

Partially addresses #17096.
This commit is contained in:
Georgios Kalpakas 2017-06-07 01:24:15 +03:00 committed by Pete Bacon Darwin
parent 078a4b00a7
commit 4759975be6
1 changed files with 4 additions and 2 deletions

View File

@ -25,15 +25,17 @@ aio-nav-menu {
md-sidenav.mat-sidenav.sidenav { md-sidenav.mat-sidenav.sidenav {
position: fixed; position: fixed;
top: 64px;
bottom: 0; bottom: 0;
left: 0; left: 0;
padding: 80px 0px 0px; padding: 0;
min-width: 260px; min-width: 260px;
background-color: $offwhite; background-color: $offwhite;
box-shadow: 6px 0 6px rgba(0,0,0,0.10); box-shadow: 6px 0 6px rgba(0,0,0,0.10);
height: calc(100vh - 64px);
&.collapsed { &.collapsed {
padding-top: 64px; top: 56px;
} }
} }