From 14d5eaf6e9aa3c74049a54a3ef95e71158fd4942 Mon Sep 17 00:00:00 2001 From: r Date: Mon, 14 Oct 2024 06:52:31 +0000 Subject: Don't force auto height/width on "inline" images This fixes the size of mikuphile emojis. --- static/style.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 985ef5c..3e3eb4a 100644 --- a/static/style.css +++ b/static/style.css @@ -77,14 +77,22 @@ body, margin: 0px; } -.status-content img, .status-image, .status-video { height: auto; width: auto; + vertical-align: bottom; +} + +.status-content img { + vertical-align: middle; +} + +.status-content img, +.status-image, +.status-video { max-height: 240px; max-width: 280px; - vertical-align: bottom; object-fit: contain; } -- cgit v1.2.3