foundation / foundation-sites

The most advanced responsive front-end framework in the world. Quickly create prototypes and production code for sites that work on any kind of device.
https://get.foundation
MIT License
29.65k stars 5.48k forks source link

Sass error with 4.0.9 (Incompatible units) #1999

Closed KrisBraun closed 11 years ago

KrisBraun commented 11 years ago

Just upgraded to 4.0.9 and started getting a Sass error: Sass::UnitConversionError: Incompatible units: '%' and 'px'.

In my case, the file reference is to Compass' _vertical_rhythm.scss:36, but someone else is getting the error on another file: https://groups.google.com/forum/?fromgroups=#!searchin/foundation-framework-/4.0.9/foundation-framework-/LlONCPraYWY/GOQmipzFBR0J

These errors go away if the @import of foundation is removed.

KrisBraun commented 11 years ago

Setting changed from px to em. Using emCalc fixed the issue.