diff options
author | Volpeon <git@volpeon.ink> | 2023-02-11 14:12:38 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-02-11 14:12:38 +0100 |
commit | 847732286f338e592a8847721131bc0ad781a43f (patch) | |
tree | 5f8ec0e8426b0a3c87ad842fb0aa4d5b903fdea1 /src | |
parent | Fix dialog body width (diff) | |
download | iro-design-847732286f338e592a8847721131bc0ad781a43f.tar.gz iro-design-847732286f338e592a8847721131bc0ad781a43f.tar.bz2 iro-design-847732286f338e592a8847721131bc0ad781a43f.zip |
Fix for SVG emojis
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_emoji.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/objects/_emoji.scss b/src/objects/_emoji.scss index f7715e1..4fc9714 100644 --- a/src/objects/_emoji.scss +++ b/src/objects/_emoji.scss | |||
@@ -34,6 +34,14 @@ | |||
34 | margin-bottom: calc(-.5 * fn.dim(--125 --size)); | 34 | margin-bottom: calc(-.5 * fn.dim(--125 --size)); |
35 | } | 35 | } |
36 | 36 | ||
37 | @include iro.bem-modifier('svg') { | ||
38 | width: fn.dim(--size); | ||
39 | |||
40 | @include iro.bem-modifier('125') { | ||
41 | width: fn.dim(--125 --size); | ||
42 | } | ||
43 | } | ||
44 | |||
37 | @include iro.bem-modifier('zoomable') { | 45 | @include iro.bem-modifier('zoomable') { |
38 | transition: transform .2s ease, background-color .2s ease; | 46 | transition: transform .2s ease, background-color .2s ease; |
39 | border-radius: calc(fn.dim(--rounding) / fn.dim(--zoom)); | 47 | border-radius: calc(fn.dim(--rounding) / fn.dim(--zoom)); |