Skip to content

Commit 8205cb2

Browse files
crisbetotinayuangao
authored andcommitted
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.
1 parent 9b68b54 commit 8205cb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/slide-toggle/slide-toggle.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ $mat-slide-toggle-bar-track-width: $mat-slide-toggle-bar-width - $mat-slide-togg
4848
flex: 1;
4949
flex-direction: row;
5050
align-items: center;
51+
height: inherit;
5152

5253
cursor: pointer;
5354
}

0 commit comments

Comments
 (0)