From 847732286f338e592a8847721131bc0ad781a43f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 11 Feb 2023 14:12:38 +0100 Subject: Fix for SVG emojis --- src/objects/_emoji.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 @@ margin-bottom: calc(-.5 * fn.dim(--125 --size)); } + @include iro.bem-modifier('svg') { + width: fn.dim(--size); + + @include iro.bem-modifier('125') { + width: fn.dim(--125 --size); + } + } + @include iro.bem-modifier('zoomable') { transition: transform .2s ease, background-color .2s ease; border-radius: calc(fn.dim(--rounding) / fn.dim(--zoom)); -- cgit v1.2.3-70-g09d2