Skip to content

Commit

Permalink
Merge pull request #3008 from dmethvin-gov/no-leading-0
Browse files Browse the repository at this point in the history
Allow values of `.5` and `-.5` without leading zeros
  • Loading branch information
thisisdano committed Mar 29, 2019
2 parents b86a7b9 + 6cc9087 commit eb7df50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stylesheets/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,13 @@ $number-to-value: (
'10': 10,
'15': 15,
'0.5': '05',
'.5': '05',
'1.5': '105',
'2.5': '205',
'-1px': 'neg-1px',
'-2px': 'neg-2px',
'-0.5': 'neg-05',
'-.5': 'neg-05',
'-1': 'neg-1',
'-1.5': 'neg-105',
'-2': 'neg-2',
Expand Down

0 comments on commit eb7df50

Please sign in to comment.