Skip to content

Commit bbdc77c

Browse files
crisbetoandrewseguin
authored andcommitted
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 7652c87 commit bbdc77c

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
@@ -9,13 +9,11 @@ $mat-button-toggle-border-radius: 2px !default;
99

1010
.mat-button-toggle-standalone,
1111
.mat-button-toggle-group {
12-
@include mat-elevation(2);
12+
@include mat-overridable-elevation(2);
1313
position: relative;
1414
display: inline-flex;
1515
flex-direction: row;
16-
1716
border-radius: $mat-button-toggle-border-radius;
18-
1917
cursor: pointer;
2018
white-space: nowrap;
2119
overflow: hidden;

0 commit comments

Comments
 (0)