From 498800577e384d6fc8562a9d2b04fb7cd489c96d Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Thu, 4 May 2023 21:31:48 +0900 Subject: [PATCH] smart sizing for in-chat images --- public/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/public/style.css b/public/style.css index 26a1acb8f..c860df0c5 100644 --- a/public/style.css +++ b/public/style.css @@ -3196,8 +3196,9 @@ a { /* Message images */ .mes img.img_extra { - max-width: 600px; - max-height: 300px; + max-width: 100%; + max-height: 60svh; + /*to fit inside single window height of mobile landscape*/ border-radius: 10px; display: block; } @@ -3865,9 +3866,10 @@ body.waifuMode #avatar_zoom_popup { aspect-ratio: 2 / 3; } + /* .mes img.img_extra { max-width: 100%; - } + } */ .world_entry_thin_controls { flex-direction: column;