From e41bc1d68bfb99e9f2248a163eea6c01e306ecf4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 6 Aug 2022 16:28:03 +0200 Subject: [PATCH] fix large emojis being too large in markdown preview --- files/assets/css/main.css | 3 ++- files/templates/util/assetcache.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index ac1ecc027..3cba8b78d 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -4683,7 +4683,8 @@ blockquote p { margin: 1.75rem auto !important; } } -.in-comment-image:not(img[src*="/uid/"]):not(img[src*="/pp/"]), .img:not(img[src*="/uid/"]):not(img[src*="/pp/"]), img[alt^="![]("], .preview img:not(img[src$="/pic"]):not(img[src="/i/hand.webp"]) { +.in-comment-image, .img, img[alt^="![]("], +.preview img:not(img[src*="/uid/"]):not(img[src*="/pp/"]):not(img[src$="/pic"]):not(img[src="/i/hand.webp"]):not(img[src*="/e/"]) { max-height: 150px !important; max-width: 100% !important; border-radius: 0.2rem !important; diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 58cefd973..1575d8e09 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 437, + 'css/main.css': 438, 'css/catalog.css': 2, 'css/4chan.css': 61,