fix post click regions and boost context emoji sizes

This commit is contained in:
ari melody 2024-07-01 03:46:26 +01:00
parent 40be540527
commit 36a74bb4e5
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 16 additions and 7 deletions

View file

@ -10,7 +10,10 @@
<div class="post-context">
<span class="post-context-icon">🔁</span>
<span class="post-context-action">
<a href={post.user.url} target="_blank">{@html parseEmojis(post.user.rich_name)}</a> boosted this post.
<a href={post.user.url} target="_blank"><span class="name">
{@html parseEmojis(post.user.rich_name)}</span>
</a>
boosted this post.
</span>
<span class="post-context-time">
<time title="{time_string}">{short_time(post.created_at)}</time>
@ -48,6 +51,12 @@
text-decoration: underline;
}
.post-context .name :global(.emoji) {
position: relative;
top: .2em;
height: 1.2em;
}
.post-context-time {
margin-left: auto;
}