From 3302ef08aebc62f878597cae167892e891c103d1 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Wed, 20 Jul 2022 16:53:59 +0100 Subject: [PATCH] scale custom emoji with mfm --- src/components/status_body/status_body.scss | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss index cec28db5..8a5598b0 100644 --- a/src/components/status_body/status_body.scss +++ b/src/components/status_body/status_body.scss @@ -6,10 +6,32 @@ .emoji { --_still_image-label-scale: 0.5; + width: 50px; height: 50px; } + ._mfm_x2_ { + .emoji { + width: 100px; + height: 100px; + } + } + + ._mfm_x3_ { + .emoji { + width: 150px; + height: 150px; + } + } + + ._mfm_x4_ { + .emoji { + width: 200px; + height: 200px; + } + } + .attachments { margin-top: 0.5em; }