fixed emote display in usernames and reactions

This commit is contained in:
ari melody 2024-07-02 21:58:46 +01:00
parent 22feedaff5
commit ce2f09721d
Signed by: ari
GPG key ID: CF99829C92678188
3 changed files with 12 additions and 2 deletions

View file

@ -74,6 +74,11 @@ main {
width: 732px;
}
img.emoji {
height: 1.2em;
margin: -.1em 0;
}
.throb {
animation: .25s throb alternate infinite ease-in;
}

View file

@ -153,7 +153,7 @@
<div id="account-button">
<img src={$user.avatar_url} class="account-avatar" height="64px" alt="" aria-hidden="true" on:click={() => play_sound()}>
<div class="account-name" aria-hidden="true">
<a href={$user.url} class="nickname" title={$user.nickname}>{$user.nickname}</a>
<a href={$user.url} class="nickname" title={$user.nickname}>{@html $user.rich_name}</a>
<span class="username" title={`@${$user.username}@${$user.host}`}>
{`@${$user.username}@${$user.host}`}
</span>
@ -345,6 +345,11 @@
font-size: .65em;
}
.nickname :global(.emoji) {
height: 1.2em;
margin: -.1em 0;
}
.flex-row {
display: flex;
flex-direction: row;

View file

@ -72,7 +72,7 @@
}
.icon {
width: 20px;
min-width: 20px;
height: 20px;
display: flex;
justify-content: center;