Closed sambhav-gore closed 5 years ago
Thanks for this issue. This happens because the comma and semicolon defines the format of the string (CSS or JSS). I'll think about how to fix it.
Fixed in 1.0.6
Wow, Thanks for super quick fix and release of this.
First of all many thanks for creating this. I just now found this and I am sure this is going to be a big helper. I constantly find myself copying styles from web tools and manually converting to jss syntax.
Now I have a minor bug to report:
If I don't have a trailing comma in jss after the last style then the last style is not converted to css. For example following is the jss:
And this results in following css after conversion:
See the last property is not change. Adding a trailing comma results in last property converting as well.
Similarly when going from CSS to JSS it always adds a trailing comma.