1
0
Fork 0
forked from Mirrors/gomuks

web/timeline: bottom-align custom emojis

This commit is contained in:
Tulir Asokan 2024-10-27 12:51:04 +02:00
parent 4968dcc8d2
commit 808bdbc068

View file

@ -71,7 +71,9 @@ div.html-body {
}
img.hicli-custom-emoji {
vertical-align: middle;
/* This has to be the same alignment as matrix URIs above to look good
Middle may be nicer for emojis, but that doesn't work nicely with pills. */
vertical-align: bottom;
height: 2rem; /* text height is 1.5rem, so this will make lines a bit taller */
width: auto;
max-width: 5rem;