Skip to content

Commit

Permalink
fix(text-field): Fix floating label for Outlined Text Fields with a l…
Browse files Browse the repository at this point in the history
…eading icon. (#2078)

Fixes #1908
  • Loading branch information
bwobrien authored Jan 29, 2018
1 parent 0468bfe commit ffca02d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mdc-textfield/label/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ $mdc-text-field-box-dense-label-position-y: 90%;
$mdc-text-field-dense-label-scale: .923;
$mdc-text-field-outlined-label-position-y: 130%;
$mdc-text-field-outlined-dense-label-position-y: 145%;
$mdc-text-field-outlined-with-leading-icon-label-position-x: 27%;
$mdc-text-field-outlined-dense-with-leading-icon-label-position-x: 25%;
$mdc-text-field-outlined-with-leading-icon-label-position-x: 32px;
$mdc-text-field-outlined-dense-with-leading-icon-label-position-x: 21px;
$mdc-text-field-textarea-label-position-y: 50%;
// Note that the scale factor is an eyeball'd approximation of what's shown in the mocks.
$mdc-text-field-textarea-label-scale: .923;

0 comments on commit ffca02d

Please sign in to comment.