mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Made em(..) return an actual number (#3735)
This commit is contained in:
committed by
Joram Wilander
parent
225ea35895
commit
1cd0ec5f1e
@@ -1,7 +1,7 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
@function em($pixels, $context: 14px) {
|
@function em($pixels, $context: 14px) {
|
||||||
@return #{$pixels/$context}em
|
@return ($pixels / $context * 1em)
|
||||||
}
|
}
|
||||||
|
|
||||||
@function alpha-color($color, $amount) {
|
@function alpha-color($color, $amount) {
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user