blakeembrey / free-style

Make CSS easier and more maintainable by using JavaScript
MIT License
707 stars 29 forks source link

Add grid properties to CSS number whitelist? #70

Closed mntnoe closed 6 years ago

mntnoe commented 6 years ago

Right now, adding the property gridColumn: 1 will result in grid-column: 1px being generated.

Can we add these properties to the CSS_NUMBER whitelist?

I believe these are the relevant properties:

gridArea gridColumn gridColumnEnd gridColumnStart gridRow gridRowEnd gridRowStart

blakeembrey commented 6 years ago

Feel free to submit a PR to expedite the process 👍

If you need a workaround, you can use strings instead of numbers for now.

blakeembrey commented 6 years ago

Closed with https://github.com/blakeembrey/free-style/pull/71.