Skip to content

Commit 49fba7f

Browse files
committed
fix(button-toggle): allow toggle group elevation to be overwritten
Allows for consumer to specify a custom elevation on a `mat-button-toggle-group`. Relates to #7264.
1 parent 40d6bcb commit 49fba7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/button-toggle/button-toggle.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ $mat-button-toggle-border-radius: 2px !default;
88

99
.mat-button-toggle-standalone,
1010
.mat-button-toggle-group {
11-
@include mat-elevation(2);
11+
@include mat-overridable-elevation(2);
1212
position: relative;
1313
display: inline-flex;
1414
flex-direction: row;
15-
1615
border-radius: $mat-button-toggle-border-radius;
17-
1816
cursor: pointer;
1917
white-space: nowrap;
2018
overflow: hidden;

0 commit comments

Comments
 (0)