fix post click regions and boost context emoji sizes
This commit is contained in:
parent
40be540527
commit
36a74bb4e5
2 changed files with 16 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue