forked from Mirrors/gomuks
web/timeline: bottom-align custom emojis
This commit is contained in:
parent
4968dcc8d2
commit
808bdbc068
1 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,9 @@ div.html-body {
|
||||||
}
|
}
|
||||||
|
|
||||||
img.hicli-custom-emoji {
|
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 */
|
height: 2rem; /* text height is 1.5rem, so this will make lines a bit taller */
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 5rem;
|
max-width: 5rem;
|
||||||
|
|
Loading…
Add table
Reference in a new issue