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

Money input $ gets misplaced when field label wraps to multiple lines #1085

Merged
merged 2 commits into from Jan 22, 2019

Conversation

kkwiedacz
Copy link
Contributor

@kkwiedacz kkwiedacz commented Jan 18, 2019

What does this PR do?

This PR updates the positioning of the money input $ so that no matter the length of the label the $ does not get misplaced in the text box
Fixes #1083

Please check off completed items as you work.

If a checklist item or section does not apply to your PR
then please remove it.

Documentation

  • Update Spark Docs Angular
  • Update Spark Docs Vanilla
  • Update Component Sass Var/Class Modifier table

Code

  • Build Component in Spark Vanilla (Sass, HTML, JS)
  • Build Component in Spark Angular
  • Unit Testing in Spark Vanilla with npm run test (100% coverage, 100% passing)
  • Unit Testing in Spark Angular with gulp test-angular (100% coverage, 100% passing)

Accessibility

Browser Testing (current version and 1 prior)

  • Google Chrome
  • Google Chrome (Mobile)
  • Mozilla Firefox
  • Mozilla Firefox (Mobile)
  • Microsoft Internet Explorer 11 (only this specific version of IE)
  • Microsoft Edge
  • Apple Safari
  • Apple Safari (Mobile)

Design Review

  • Design reviewed and approved

Screenshots

screen shot 2019-01-18 at 2 55 50 pm
screen shot 2019-01-18 at 2 56 16 pm

…iner vs using a fixed `margin-top` and updated variable used for the `y` offset
Copy link
Collaborator

@RCopeland RCopeland left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@netlify
Copy link

netlify bot commented Jan 22, 2019

@netlify
Copy link

netlify bot commented Jan 22, 2019

@RCopeland RCopeland merged commit 85edf7e into sparkdesignsystem:staging Jan 22, 2019
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.

None yet

2 participants