Skip to content

Commit

Permalink
fix(button-toggle): allow toggle group elevation to be overwritten
Browse files Browse the repository at this point in the history
Allows for consumer to specify a custom elevation on a `mat-button-toggle-group`.

Relates to #7264.
  • Loading branch information
crisbeto authored and jelbourn committed Aug 23, 2018
1 parent f1b65b6 commit cab509c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/button-toggle/button-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ $mat-button-toggle-border-radius: 2px !default;

.mat-button-toggle-standalone,
.mat-button-toggle-group {
@include mat-elevation(2);
@include mat-overridable-elevation(2);
position: relative;
display: inline-flex;
flex-direction: row;

border-radius: $mat-button-toggle-border-radius;

cursor: pointer;
white-space: nowrap;
overflow: hidden;
Expand Down

0 comments on commit cab509c

Please sign in to comment.