[frontend] fix sizing of custom reactions

This commit is contained in:
Lilian 2024-04-23 18:11:51 +02:00
parent 92d5c4e611
commit ab91c20ae8
No known key found for this signature in database
GPG key ID: 007CA12D692829E1
3 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
} }
@if (Reaction.Url != null) @if (Reaction.Url != null)
{ {
<img src="@Reaction.Url" alt="@Reaction.Name"/> <img class="custom-reaction" src="@Reaction.Url" alt="@Reaction.Name"/>
} }
</span> </span>
<span class="count"> <span class="count">

View file

@ -1,3 +1,10 @@
.reaction { .reaction {
margin-right: 0.5em; margin-right: 0.5em;
} }
.custom-reaction{
width: 1em;
}
.icon {
font-size: 1.5em;
vertical-align: middle;
}

View file

@ -66,6 +66,10 @@ menu {
padding: 0; padding: 0;
} }
dialog {
border: 0;
}
button { button {
border-radius: 8px; border-radius: 8px;
border: 0; border: 0;