support oblong reactions

This commit is contained in:
Yhëhtozr 2023-02-20 23:18:04 +09:00
parent 6a9d169e24
commit 996ce3dde3

View file

@ -18,7 +18,6 @@
:src="reaction.url"
:title="reaction.name"
class="reaction-emoji"
width="2.55em"
height="2.55em"
>
{{ reaction.count }}
@ -50,6 +49,7 @@
display: flex;
margin-top: 0.25em;
flex-wrap: wrap;
container-type: inline-size;
}
.unicode-emoji {
@ -65,7 +65,8 @@
justify-content: center;
box-sizing: border-box;
.reaction-emoji {
width: 2.55em !important;
width: auto;
max-width: 100cqw;
height: 2.55em !important;
margin-right: 0.25em;
}