Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(text-field): Changes to text area label positioning to cover text content #2816

Merged
merged 9 commits into from
May 30, 2018
9 changes: 5 additions & 4 deletions packages/mdc-textfield/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -494,15 +494,16 @@
}

.mdc-floating-label {
@include mdc-rtl-reflexive-position(left, 1px);
@include mdc-floating-label-fill-color($mdc-textarea-background);

@include mdc-rtl-reflexive(left, 1px, right, 0);
@include mdc-rtl-reflexive-property(margin, 8px, 0);

Copy link
Contributor

@kfranqueiro kfranqueiro May 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint is failing due to the indentation on this empty line

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

top: $label-offset-y;
bottom: auto;
margin-top: 2px;
margin-left: 8px;
padding: 8px;
padding: 12px 8px 8px 8px;
line-height: 1.15;
pointer-events: none;
}
}

Expand Down