Skip to content

Commit

Permalink
Update string interpolation to be forward-compatible with Sass 4.0. #70
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Oct 17, 2016
1 parent 689efeb commit a8cc7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fork-versions/ruby-sass-compass/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ h1 {
@include adjust-font-size-to( $h1-font-size );
}
@else {
font-size: if($rhythm-unit == "px", $h1-font-size, ($h1-font-size / $base-font-size)#{$rhythm-unit});
font-size: if($rhythm-unit == "px", $h1-font-size, unquote("#{$h1-font-size / $base-font-size}#{$rhythm-unit}"));
}

/* Set 1 unit of vertical rhythm on the top and bottom margins. */
Expand Down

0 comments on commit a8cc7b9

Please sign in to comment.