Closed ThiefMaster closed 10 years ago
OK, apparently it's invalid SCSS. How would I get the same result without hardcoding that value?
Convert one to the other using your font size.
height: (6 * (1em + .5em)) + 1px * 1em/12px;
Of course that's not very flexible — but pyscss 1.1.5 effectively hardcoded 12-pixels-per-em anyway, so this isn't any worse. :)
You could also use CSS3 calc()
(though support is not great yet), or just move the extra pixel onto some other property.
After updating from pyScss==1.1.5 to 1.2.0.post3, the following SCSS rule fails:
Previously it evaluated just fine to
height: 9.077em
. Is it invalid SCSS or did I find a bug in pyScss?