Skip to content

Commit b0756a2

Browse files
crisbetojelbourn
authored andcommitted
fix(drawer): missing elevation shadow (#8387)
Fixes the elevation box shadow not being applied to drawers. Fixes #8386
1 parent ce23395 commit b0756a2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/lib/sidenav/drawer.scss

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,10 @@ $mat-drawer-over-drawer-z-index: 4;
131131
}
132132
}
133133

134-
&.mat-drawer-opening, &.mat-drawer-opened {
135-
&:not(.mat-drawer-side) {
136-
// The elevation of z-16 is noted in the design specifications.
137-
// See https://material.io/guidelines/patterns/navigation-drawer.html#
138-
@include mat-elevation(16);
139-
}
134+
&:not(.mat-drawer-side) {
135+
// The elevation of z-16 is noted in the design specifications.
136+
// See https://material.io/guidelines/patterns/navigation-drawer.html#
137+
@include mat-elevation(16);
140138
}
141139
}
142140

0 commit comments

Comments
 (0)