summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorHugo Giraudel <hugo.giraudel@gmail.com>2016-08-12 13:51:37 +0200
committerJoram Wilander <jwawilander@gmail.com>2016-08-12 07:51:37 -0400
commit1cd0ec5f1ec5a7f095922794bb0444445f37ef5c (patch)
tree5182e0d1c6861b6f697792b3313e345f9d382981 /webapp
parent225ea35895bdc641b69551c6b50a827fdd1edc7f (diff)
downloadchat-1cd0ec5f1ec5a7f095922794bb0444445f37ef5c.tar.gz
chat-1cd0ec5f1ec5a7f095922794bb0444445f37ef5c.tar.bz2
chat-1cd0ec5f1ec5a7f095922794bb0444445f37ef5c.zip
Made em(..) return an actual number (#3735)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/sass/utils/_functions.scss4
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
+}