fixed emoji not showing in posts + improvements

This commit is contained in:
ari melody 2024-07-08 10:32:11 +01:00
parent e74b088e37
commit 5e92246eeb
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -20,7 +20,9 @@
</button> </button>
{/if} {/if}
{#if !post.warning || open_warned} {#if !post.warning || open_warned}
{#if post.html} {#if post.rich_text}
<span class="post-text">{@html post.rich_text}</span>
{:else if post.html}
<span class="post-text">{@html post.html}</span> <span class="post-text">{@html post.html}</span>
{/if} {/if}
{#if post.media && post.media.length > 0} {#if post.media && post.media.length > 0}
@ -88,10 +90,11 @@
} }
.post-text :global(.emoji) { .post-text :global(.emoji) {
position: relative; transition: transform .1s ease-out;
top: 6px; }
margin-top: -10px;
height: 24px!important; .post-text :global(.emoji):hover {
transform: scale(1.2);
} }
.post-text :global(blockquote) { .post-text :global(blockquote) {