mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(radio): label vertical alignment (#5120)
This commit is contained in:
committed by
Kara
parent
73aa43e98b
commit
d3d6d26c56
@@ -15,8 +15,9 @@ $mat-radio-ripple-size: $mat-radio-size * 0.75;
|
||||
.mat-radio-label {
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Container for radio circles and ripple.
|
||||
@@ -26,7 +27,6 @@ $mat-radio-ripple-size: $mat-radio-size * 0.75;
|
||||
height: $mat-radio-size;
|
||||
position: relative;
|
||||
width: $mat-radio-size;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
// The outer circle for the radio, always present.
|
||||
|
||||
Reference in New Issue
Block a user