Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(text-field): Fix floating label for Outlined w/ leading icon #2078

Merged
merged 4 commits into from
Jan 29, 2018

Conversation

bwobrien
Copy link
Contributor

Replaces translateX percentage values with absolute pixel values. The goal here is to shift the label horizontally back towards the leading edge of the Text Field, since the leading icon shifts the label towards the trailing edge. Since it was shifted a fix amount, just shift it back the same fixed amount.

Fixes #1908

@codecov-io
Copy link

codecov-io commented Jan 25, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2078   +/-   ##
=======================================
  Coverage   99.46%   99.46%           
=======================================
  Files          84       84           
  Lines        3722     3722           
  Branches      480      480           
=======================================
  Hits         3702     3702           
  Misses         20       20

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 0468bfe...0713327. Read the comment docs.

Copy link
Contributor

@williamernest williamernest left a comment

Choose a reason for hiding this comment

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

LGTM.

…ined-icon

Merge from master to pickup file rename (label/_variables.css ->
label/_variables.scss).
@bwobrien bwobrien merged commit ffca02d into master Jan 29, 2018
@bwobrien bwobrien deleted the fix/text-field/outlined-icon branch January 29, 2018 22:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outlined Text Field + Leading Icon Bug
3 participants