diff --git a/src/lib/sidenav/sidenav.scss b/src/lib/sidenav/sidenav.scss index 080af640ba7..b961fe2e285 100644 --- a/src/lib/sidenav/sidenav.scss +++ b/src/lib/sidenav/sidenav.scss @@ -19,9 +19,6 @@ } &.md-sidenav-opening, &.md-sidenav-opened { - // The elevation of z-16 is noted in the design specifications. - // See https://material.io/guidelines/patterns/navigation-drawer.html# - @include md-elevation(16); transform: translate3d($open, 0, 0); } } @@ -126,6 +123,14 @@ md-sidenav { @include md-sidenav-transition(0, -100%); } } + + &.md-sidenav-opening, &.md-sidenav-opened { + &:not(.md-sidenav-side) { + // The elevation of z-16 is noted in the design specifications. + // See https://material.io/guidelines/patterns/navigation-drawer.html# + @include md-elevation(16); + } + } } .md-sidenav-focus-trap {