diff options
author | Hugo Giraudel <hugo.giraudel@gmail.com> | 2016-08-12 13:51:37 +0200 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-08-12 07:51:37 -0400 |
commit | 1cd0ec5f1ec5a7f095922794bb0444445f37ef5c (patch) | |
tree | 5182e0d1c6861b6f697792b3313e345f9d382981 /webapp/sass/utils/_functions.scss | |
parent | 225ea35895bdc641b69551c6b50a827fdd1edc7f (diff) | |
download | chat-1cd0ec5f1ec5a7f095922794bb0444445f37ef5c.tar.gz chat-1cd0ec5f1ec5a7f095922794bb0444445f37ef5c.tar.bz2 chat-1cd0ec5f1ec5a7f095922794bb0444445f37ef5c.zip |
Made em(..) return an actual number (#3735)
Diffstat (limited to 'webapp/sass/utils/_functions.scss')
-rw-r--r-- | webapp/sass/utils/_functions.scss | 4 |
1 files 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 +} |