diff --git a/src/lib/ui/post/Body.svelte b/src/lib/ui/post/Body.svelte index 7b06bc6..2760b56 100644 --- a/src/lib/ui/post/Body.svelte +++ b/src/lib/ui/post/Body.svelte @@ -20,7 +20,9 @@ {/if} {#if !post.warning || open_warned} - {#if post.html} + {#if post.rich_text} + {@html post.rich_text} + {:else if post.html} {@html post.html} {/if} {#if post.media && post.media.length > 0} @@ -88,10 +90,11 @@ } .post-text :global(.emoji) { - position: relative; - top: 6px; - margin-top: -10px; - height: 24px!important; + transition: transform .1s ease-out; + } + + .post-text :global(.emoji):hover { + transform: scale(1.2); } .post-text :global(blockquote) {