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(select): Override floating label properties in select box #2574

Merged
merged 7 commits into from
Apr 18, 2018

Conversation

williamernest
Copy link
Contributor

Fixes an issue with typography and label behavior using the new styles and new floating label.

@codecov-io
Copy link

codecov-io commented Apr 16, 2018

Codecov Report

Merging #2574 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2574   +/-   ##
=======================================
  Coverage   98.66%   98.66%           
=======================================
  Files          98       98           
  Lines        4202     4202           
  Branches      534      534           
=======================================
  Hits         4146     4146           
  Misses         56       56

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 099fdf8...f940a85. Read the comment docs.

Matt Goo added 2 commits April 16, 2018 14:19
…mponents/material-components-web into fix/select/label-adjustments
Copy link
Contributor

@moog16 moog16 left a comment

Choose a reason for hiding this comment

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

Made a change to pointer-events rule, but everything else looks good to me.

.mdc-select__native-control {
@include mdc-typography(subtitle1);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm guessing this was removed from label to fix line-height, but do we not want other properties of this style?

Copy link
Contributor Author

@williamernest williamernest Apr 16, 2018

Choose a reason for hiding this comment

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

The .mdc-select__label was accidentally left in from the refactor to use mdc-floating-label. mdc-floating-label is already setting the required typography for the label in the mdc-floating-label package.

@williamernest williamernest merged commit f71d905 into master Apr 18, 2018
@williamernest williamernest deleted the fix/select/label-adjustments branch April 18, 2018 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants