mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): make sure 1-line hint is fully contained by input container. (#5912)
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
// The padding applied to the input-wrapper to reserve space for the subscript, since it's
|
||||
// absolutely positioned. This is a combination of the subscript's margin and line-height, but we
|
||||
// need to multiply by the subscript font scale factor since the wrapper has a larger font size.
|
||||
$wrapper-padding-bottom: ($subscript-margin-top + $line-height) * $subscript-font-scale;
|
||||
$wrapper-padding-bottom: 0.5em + ($line-height * $subscript-font-scale);
|
||||
|
||||
.mat-input-container {
|
||||
@include mat-typography-level-to-styles($config, input);
|
||||
|
||||
Reference in New Issue
Block a user