Skip to content

Commit

Permalink
fix(slide-toggle): height collapsing if component doesn't have a label (
Browse files Browse the repository at this point in the history
angular#8270)

Fixes the slide label component collapsing down to 16px if it doesn't have a label.

Fixes angular#8264.
  • Loading branch information
crisbeto authored and tinayuangao committed Nov 29, 2017
1 parent d79ecc9 commit 69f9baa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/slide-toggle/slide-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ $mat-slide-toggle-bar-track-width: $mat-slide-toggle-bar-width - $mat-slide-togg
flex: 1;
flex-direction: row;
align-items: center;
height: inherit;

cursor: pointer;
}
Expand Down

0 comments on commit 69f9baa

Please sign in to comment.