[frontend] fix sizing of custom reactions
This commit is contained in:
parent
92d5c4e611
commit
ab91c20ae8
3 changed files with 12 additions and 1 deletions
|
@ -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">
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
|
@ -66,6 +66,10 @@ menu {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue