Skip to content

Commit d3d6d26

Browse files
crisbetokara
authored andcommitted
fix(radio): label vertical alignment (#5120)
1 parent 73aa43e commit d3d6d26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/radio/radio.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ $mat-radio-ripple-size: $mat-radio-size * 0.75;
1515
.mat-radio-label {
1616
cursor: pointer;
1717
display: inline-flex;
18-
align-items: baseline;
18+
align-items: center;
1919
white-space: nowrap;
20+
vertical-align: middle;
2021
}
2122

2223
// Container for radio circles and ripple.
@@ -26,7 +27,6 @@ $mat-radio-ripple-size: $mat-radio-size * 0.75;
2627
height: $mat-radio-size;
2728
position: relative;
2829
width: $mat-radio-size;
29-
top: 2px;
3030
}
3131

3232
// The outer circle for the radio, always present.

0 commit comments

Comments
 (0)