fix(input): make sure 1-line hint is fully contained by input container. (#5912)

This commit is contained in:
mmalerba
2017-07-25 16:23:41 -07:00
committed by Andrew Seguin
parent bbadd01e41
commit ca3a3b84b4
+1 -1
View File
@@ -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);