summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-12 17:29:15 +0100
committerVolpeon <git@volpeon.ink>2023-02-12 17:29:15 +0100
commiteae243db8ee1c70682cfdb6d99ca70beac46fb7d (patch)
tree6c86848403c504656486b6478741504e79c25986 /src/objects
parentSimplified emojis (diff)
downloadiro-design-eae243db8ee1c70682cfdb6d99ca70beac46fb7d.tar.gz
iro-design-eae243db8ee1c70682cfdb6d99ca70beac46fb7d.tar.bz2
iro-design-eae243db8ee1c70682cfdb6d99ca70beac46fb7d.zip
Fix
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/_emoji.scss7
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' {