mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
tinayuangao
parent
9b68b54cd2
commit
8205cb25db
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user