use-server-side-mfm (#133)

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/133
This commit is contained in:
floatingghost 2022-08-18 03:14:38 +00:00
parent e61228b031
commit 2d85ee6a08
6 changed files with 13 additions and 18 deletions

View file

@ -1,7 +1,7 @@
<template>
<div
class="StatusContent"
:class="{ '-compact': compact, 'mfm-hover': renderMfmOnHover }"
:class="{ '-compact': compact, 'mfm-hover': renderMfmOnHover, 'mfm-disabled': !renderMisskeyMarkdown }"
>
<slot name="header" />
<StatusBody
@ -78,7 +78,12 @@
&.mfm-hover:not(:hover) {
.mfm {
animation: none;
animation: none !important;
}
}
&.mfm-disabled {
.mfm {
animation: none !important;
}
}
}