File tree 1 file changed +3
-0
lines changed
src/material-experimental/mdc-form-field
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 59
59
// combination of the subscript's margin and line-height, but we need to multiply by the
60
60
// subscript font scale factor since the subscript has a reduced font size.
61
61
$subscript-min-height : ($subscript-margin-top + $line-height ) * $subscript-font-scale ;
62
+ // The horizontal padding between the edge of the text box and the start of the subscript text.
63
+ $subscript-horizontal-padding : 16px ;
62
64
63
65
// The subscript wrapper has a minimum height to avoid that the form-field
64
66
// jumps when hints or errors are displayed.
65
67
.mat-mdc-form-field-subscript-wrapper {
66
68
min-height : $subscript-min-height ;
67
69
font-size : $subscript-font-size ;
68
70
margin-top : $subscript-margin-top ;
71
+ padding : 0 $subscript-horizontal-padding ;
69
72
}
70
73
}
You can’t perform that action at this time.
0 commit comments