File tree Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 14
14
15
15
< div class ="mat-ripple-element mat-radio-persistent-ripple "> </ div >
16
16
</ div >
17
- </ div >
18
17
19
- < input #input class ="mat-radio-input cdk-visually-hidden " type ="radio "
20
- [id] ="inputId "
21
- [checked] ="checked "
22
- [disabled] ="disabled "
23
- [tabIndex] ="tabIndex "
24
- [attr.name] ="name "
25
- [required] ="required "
26
- [attr.aria-label] ="ariaLabel "
27
- [attr.aria-labelledby] ="ariaLabelledby "
28
- [attr.aria-describedby] ="ariaDescribedby "
29
- (change) ="_onInputChange($event) "
30
- (click) ="_onInputClick($event) ">
18
+ < input #input class ="mat-radio-input cdk-visually-hidden " type ="radio "
19
+ [id] ="inputId "
20
+ [checked] ="checked "
21
+ [disabled] ="disabled "
22
+ [tabIndex] ="tabIndex "
23
+ [attr.name] ="name "
24
+ [required] ="required "
25
+ [attr.aria-label] ="ariaLabel "
26
+ [attr.aria-labelledby] ="ariaLabelledby "
27
+ [attr.aria-describedby] ="ariaDescribedby "
28
+ (change) ="_onInputChange($event) "
29
+ (click) ="_onInputClick($event) ">
30
+ </ div >
31
31
32
32
<!-- The label content for radio control. -->
33
33
< div class ="mat-radio-label-content " [class.mat-radio-label-before] ="labelPosition == 'before' ">
Original file line number Diff line number Diff line change @@ -152,3 +152,10 @@ $mat-radio-ripple-radius: 20px;
152
152
opacity : 0 ;
153
153
}
154
154
}
155
+
156
+ .mat-radio-input {
157
+ // Move the input in the middle and towards the bottom so
158
+ // the native validation messages are aligned correctly.
159
+ bottom : 0 ;
160
+ left : 50% ;
161
+ }
You can’t perform that action at this time.
0 commit comments