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

Allow values of .5 and -.5 without leading zeros #3009

Merged
merged 2 commits into from Apr 1, 2019

Conversation

thisisdano
Copy link
Member

@thisisdano thisisdano commented Mar 29, 2019

External contribution: originally in #3008
Thanks @dmethvin-gov!

Preview


Allow .5 and -.5 without leading zero

Description

The USDS website uses Jekyll and its build process generates numbers like .5 rather than 0.5. Those are valid in CSS so they should be accepted.

I hope this is the right branch for the PR, it would be good to get this into final 2.0 so Jekyll sites will work.

Additional information

Related to #2866 and #2867, should fix uswds/uswds-sandbox#18.

I attempted to run npm test but got cascading errors once it reached "fractal component". The same errors occur on 2.0/beta7 so I don't think this change caused them.

USDS and others added 2 commits March 29, 2019 13:33
@thisisdano
Copy link
Member Author

This all looks good to me, works as expected in testing, and should go into the 2.0 release.

@maya maya merged commit a7cbda2 into release-2.0 Apr 1, 2019
@maya maya deleted the external-allow-leading-zeros branch April 1, 2019 16:58
@thisisdano thisisdano mentioned this pull request Apr 4, 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