Skip to content

Commit

Permalink
fix(input): make sure 1-line hint is fully contained by input contain…
Browse files Browse the repository at this point in the history
…er. (#5912)
  • Loading branch information
mmalerba authored and andrewseguin committed Jul 25, 2017
1 parent bbadd01 commit ca3a3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/input/_input-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ca3a3b8

Please sign in to comment.