From 1cd0ec5f1ec5a7f095922794bb0444445f37ef5c Mon Sep 17 00:00:00 2001 From: Hugo Giraudel Date: Fri, 12 Aug 2016 13:51:37 +0200 Subject: Made em(..) return an actual number (#3735) --- webapp/sass/utils/_functions.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/sass/utils/_functions.scss b/webapp/sass/utils/_functions.scss index baedd72c5..f399060cc 100644 --- a/webapp/sass/utils/_functions.scss +++ b/webapp/sass/utils/_functions.scss @@ -1,7 +1,7 @@ @charset "UTF-8"; @function em($pixels, $context: 14px) { - @return #{$pixels/$context}em + @return ($pixels / $context * 1em) } @function alpha-color($color, $amount) { @@ -20,4 +20,4 @@ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transform: translate(0, 0); -} \ No newline at end of file +} -- cgit v1.2.3-1-g7c22