diff options
-rw-r--r-- | src/objects/_emoji.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/objects/_emoji.scss b/src/objects/_emoji.scss index 3da8b7b..4ecbb88 100644 --- a/src/objects/_emoji.scss +++ b/src/objects/_emoji.scss | |||
@@ -11,6 +11,10 @@ | |||
11 | --zoom: 3, | 11 | --zoom: 3, |
12 | --valign: -.25em, | 12 | --valign: -.25em, |
13 | 13 | ||
14 | --icon: ( | ||
15 | --valign: -.15em, | ||
16 | ), | ||
17 | |||
14 | --150: ( | 18 | --150: ( |
15 | --size: calc(1 / 14 * 28em), | 19 | --size: calc(1 / 14 * 28em), |
16 | --valign: -.65em, | 20 | --valign: -.65em, |
@@ -40,7 +44,8 @@ | |||
40 | object-fit: contain; | 44 | object-fit: contain; |
41 | 45 | ||
42 | @include iro.bem-modifier('icon') { | 46 | @include iro.bem-modifier('icon') { |
43 | margin: calc(-1 * fn.dim(--pad) - .5 * (fn.dim(--size) - fn.foreign-dim(--icon, --size))); | 47 | margin: calc(-1 * fn.dim(--pad) - .5 * (fn.dim(--size) - fn.foreign-dim(--icon, --size))); |
48 | vertical-align: fn.dim(--icon --valign); | ||
44 | } | 49 | } |
45 | 50 | ||
46 | @each $size in '150' '200' { | 51 | @each $size in '150' '200' { |