responsive-fixes for asidenav and navbar

This commit is contained in:
Felix Hamann 2018-07-01 18:23:20 +02:00
parent 0cc36eeef1
commit 31935c0182
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
z-index: 1; z-index: 1;
flex: 0 0 300px; flex: 0 0 300px;
min-height: calc(100% - 80px); min-height: calc(100% - var(--header-height));
transition: all .2s ease-out; transition: all .2s ease-out;
width: 24%; width: 24%;
@ -164,7 +164,7 @@
width: 50px; width: 50px;
flex-basis: 50px; flex-basis: 50px;
overflow: hidden; overflow: hidden;
min-height: calc(100% - 50px); min-height: calc(100% - var(--header-height-collapsed));
~ .main__content { ~ .main__content {
padding-left: 50px; padding-left: 50px;

View File

@ -88,6 +88,10 @@
&::before { &::before {
content: none; content: none;
} }
&::after {
margin-left: 0;
}
} }
} }