Ensure MFM scaling is ignored when rendering is disabled

Fixes #173
This commit is contained in:
FloatingGhost 2022-11-02 22:33:54 +00:00
parent 721e3b016d
commit ffac376b5a
3 changed files with 13 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<template> <template>
<div <div
class="StatusBody" class="StatusBody"
:class="{ '-compact': compact }" :class="{ '-compact': compact, 'mfm-disabled': !renderMisskeyMarkdown }"
> >
<div class="body"> <div class="body">
<div <div

View file

@ -82,9 +82,16 @@
} }
} }
&.mfm-disabled { &.mfm-disabled {
span {
font-size: 100% !important;
}
.mfm { .mfm {
animation: none !important; animation: none !important;
} }
.emoji {
width: 32px !important;
height: 32px !important;
}
} }
} }