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

CSS line-height property #11

Open KevinAsher opened 2 years ago

KevinAsher commented 2 years ago

The CSS line-height property accepts px as well as a unitless value, the issue here is that when given line-height: 10px;, the extension transforms to lineHeight: 10;, which in this case they are not equivalent.