From: Mario Uher Date: Sun, 5 Aug 2012 17:11:20 +0000 (+0200) Subject: Mixin font-size should work with ms(). X-Git-Tag: v3.0.8~7^2~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F758%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Mixin font-size should work with ms(). --- diff --git a/stylesheets/foundation/mixins/_font-size.scss b/stylesheets/foundation/mixins/_font-size.scss index da13b7135..1a6d6f82d 100644 --- a/stylesheets/foundation/mixins/_font-size.scss +++ b/stylesheets/foundation/mixins/_font-size.scss @@ -1,6 +1,8 @@ // Font size mixin to include px and rem @mixin font-size($size, $is-important: false) { + $size: if(unitless($size), $size, $size / 1px); + @if $is-important { font-size: $size + px !important; font-size: ($size / 10) + rem !important;