replace boost emoji with boost icon
This commit is contained in:
parent
7ed8ebf6e5
commit
faab37a53b
1 changed files with 7 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue