Closed getdave closed 10 years ago
rem() mixin uses $baseFontSize but it actually has to work with the base size of the html element. We need to assume this is 16px.
rem()
$baseFontSize
Amend as per by adding 16 instead of $baseFontSize
16
@if $unit == "px" { /* 7 */ $px : append($px, $value); $rem: append($rem, ($val / 16 + rem)); } @if $unit == "rem" { /* 7 */ $px : append($px, ($val * 16 + px)); $rem: append($rem, $value); }
Fixed via another commit. Closing
rem()
mixin uses$baseFontSize
but it actually has to work with the base size of the html element. We need to assume this is 16px.Amend as per by adding
16
instead of$baseFontSize