fix(slide-toggle): height collapsing if component doesn't have a label (#8270)

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

Fixes #8264.
This commit is contained in:
Kristiyan Kostadinov
2017-11-29 20:18:59 +01:00
committed by tinayuangao
parent 9b68b54cd2
commit 8205cb25db
+1
View File
@@ -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;
}