From ef75ce6a6f49ad8418d2b591b98e018b10268aa5 Mon Sep 17 00:00:00 2001 From: IanM <16573496+imorland@users.noreply.github.com> Date: Tue, 26 Nov 2024 09:55:32 +0000 Subject: [PATCH] fix: constrain within rich preview (#20) * fix: constrain images within the excerpt * also target --- resources/less/forum/extension.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/less/forum/extension.less b/resources/less/forum/extension.less index 18b3a35..2a111e6 100644 --- a/resources/less/forum/extension.less +++ b/resources/less/forum/extension.less @@ -41,3 +41,13 @@ display: none; } } + + +.Synopsis-excerpt { + .FoFUpload--Upl-Image-Preview, + img { + max-height: 300px; + width: auto; + object-fit: contain; + } +}