From 671287b55a0a572f799f415404caa3184e46ff3a Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Thu, 21 Sep 2017 19:03:19 +0300 Subject: [PATCH] Reverting the sidenav fixes.. --- .../core/scss/partials/_angular-material-fix.scss | 15 +-------------- src/app/core/scss/partials/_page-layouts.scss | 4 ++-- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/app/core/scss/partials/_angular-material-fix.scss b/src/app/core/scss/partials/_angular-material-fix.scss index ca87b3c9..437fe6ac 100644 --- a/src/app/core/scss/partials/_angular-material-fix.scss +++ b/src/app/core/scss/partials/_angular-material-fix.scss @@ -8,11 +8,6 @@ md-sidenav-container { md-sidenav { - order: 1; - - &.md-is-locked-open { - position: relative !important; - } &.md-stop-transition { transition: none !important; @@ -28,26 +23,18 @@ md-sidenav-container { &.mat-drawer-side { - &.md-is-locked-open { - position: relative !important; - } - ~ .mat-sidenav-content, ~ .mat-drawer-content { transition: none !important; - margin-left: 0 !important; - margin-right: 0 !important; transform: translate3d(0, 0, 0) !important; } } } &.mat-drawer-end { - order: 3; } } .mat-drawer-content { - order: 2; } -} \ No newline at end of file +} diff --git a/src/app/core/scss/partials/_page-layouts.scss b/src/app/core/scss/partials/_page-layouts.scss index 0ce92f09..5abc20e8 100644 --- a/src/app/core/scss/partials/_page-layouts.scss +++ b/src/app/core/scss/partials/_page-layouts.scss @@ -336,8 +336,8 @@ $top-bg-image: url('assets/images/backgrounds/header-bg.png'); > md-sidenav-container { display: flex; - // flex-direction: column; - flex-direction: row; + flex-direction: column; + //flex-direction: row; flex: 1; background: none; z-index: 2;