Reverting the sidenav fixes..

This commit is contained in:
mustafahlvc 2017-09-21 19:03:19 +03:00
parent 098dacf2a5
commit 671287b55a
2 changed files with 3 additions and 16 deletions

View File

@ -8,11 +8,6 @@
md-sidenav-container { md-sidenav-container {
md-sidenav { md-sidenav {
order: 1;
&.md-is-locked-open {
position: relative !important;
}
&.md-stop-transition { &.md-stop-transition {
transition: none !important; transition: none !important;
@ -28,26 +23,18 @@ md-sidenav-container {
&.mat-drawer-side { &.mat-drawer-side {
&.md-is-locked-open {
position: relative !important;
}
~ .mat-sidenav-content, ~ .mat-sidenav-content,
~ .mat-drawer-content { ~ .mat-drawer-content {
transition: none !important; transition: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
transform: translate3d(0, 0, 0) !important; transform: translate3d(0, 0, 0) !important;
} }
} }
} }
&.mat-drawer-end { &.mat-drawer-end {
order: 3;
} }
} }
.mat-drawer-content { .mat-drawer-content {
order: 2;
} }
} }

View File

@ -336,8 +336,8 @@ $top-bg-image: url('assets/images/backgrounds/header-bg.png');
> md-sidenav-container { > md-sidenav-container {
display: flex; display: flex;
// flex-direction: column; flex-direction: column;
flex-direction: row; //flex-direction: row;
flex: 1; flex: 1;
background: none; background: none;
z-index: 2; z-index: 2;