replace boost emoji with boost icon

This commit is contained in:
ari melody 2025-07-14 19:21:56 +01:00
parent 7ed8ebf6e5
commit faab37a53b
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -1,6 +1,7 @@
<script>
import { shorthand as short_time } from '$lib/time.js';
import { server } from '$lib/client/server';
import RepostIcon from '@cf/icons/repost.svg';
import Lang from '$lib/lang';
const lang = Lang('en_GB');
@ -11,7 +12,9 @@
</script>
<div class="post-context">
<span class="post-context-icon">🔁</span>
<span class="post-context-icon">
<RepostIcon width="22px" />
</span>
<span class="post-context-action">
{ @html
lang.string('post.boosted',
@ -42,7 +45,9 @@
}
.post-context-icon {
margin-right: 4px;
height: 1em;
margin-right: .1em;
transform: translateY(-.3em);
}
:global(.post-context a),