in19farkt / css-to-jss

VS Code extension for converting CSS rules to JSS format
https://marketplace.visualstudio.com/items?itemName=infarkt.css-to-jss
15 stars 3 forks source link

Fix make wrong value in line-height #13

Open nsxz945 opened 1 year ago

nsxz945 commented 1 year ago

When dealing with the line-height example, it produces wrong results because of the missing units. eg: line-height:12px->line-height:12. This PR is fix this case an other potential case.