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
Fixes the slide label component collapsing down to 16px if it doesn't have a label.

Fixes angular#8264.
  • Loading branch information
crisbeto committed Nov 20, 2017
1 parent 40d6bcb commit 33dd94b
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 33dd94b

Please sign in to comment.