fixed emote display in usernames and reactions
This commit is contained in:
parent
22feedaff5
commit
ce2f09721d
|
@ -74,6 +74,11 @@ main {
|
||||||
width: 732px;
|
width: 732px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.emoji {
|
||||||
|
height: 1.2em;
|
||||||
|
margin: -.1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
.throb {
|
.throb {
|
||||||
animation: .25s throb alternate infinite ease-in;
|
animation: .25s throb alternate infinite ease-in;
|
||||||
}
|
}
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
<div id="account-button">
|
<div id="account-button">
|
||||||
<img src={$user.avatar_url} class="account-avatar" height="64px" alt="" aria-hidden="true" on:click={() => play_sound()}>
|
<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">
|
<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}`}>
|
<span class="username" title={`@${$user.username}@${$user.host}`}>
|
||||||
{`@${$user.username}@${$user.host}`}
|
{`@${$user.username}@${$user.host}`}
|
||||||
</span>
|
</span>
|
||||||
|
@ -345,6 +345,11 @@
|
||||||
font-size: .65em;
|
font-size: .65em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nickname :global(.emoji) {
|
||||||
|
height: 1.2em;
|
||||||
|
margin: -.1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-row {
|
.flex-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
width: 20px;
|
min-width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
Loading…
Reference in a new issue