logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 117a4c2f2c92902c8518e2b09a629a2ec6a9f514
parent 54245cd4f9b1bb0ef0b68fb53c8312d28f5f1a3e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 16 Feb 2020 05:56:03 +0100

static-fe.css: Use .emoji class instead of max-height hack

Diffstat:

Mpriv/static/static/static-fe.css12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/priv/static/static/static-fe.css b/priv/static/static/static-fe.css @@ -46,6 +46,13 @@ header { display: block; } +.emoji { + max-height: 2.5ch; + max-width: 2.5em; + object-fit: contain; + vertical-align: middle; +} + #selected { background-color: #1b2735; } @@ -77,11 +84,6 @@ a:hover { color: white; } -/* keep emoji from being hilariously huge */ -.display-name img { - max-height: 1em; -} - .display-name .nickname { padding-top: 4px; display: block;