From 9005f2d344db23d9fb91cacf2a7b13583d72ef85 Mon Sep 17 00:00:00 2001 From: Femke Reunes Date: Thu, 17 Sep 2026 16:49:03 +0200 Subject: [PATCH] ARC-3992: Fix image scaling --- src/components/RichTextEditor/RichTextEditor.scss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/RichTextEditor/RichTextEditor.scss b/src/components/RichTextEditor/RichTextEditor.scss index 92891907..543e674c 100644 --- a/src/components/RichTextEditor/RichTextEditor.scss +++ b/src/components/RichTextEditor/RichTextEditor.scss @@ -162,11 +162,6 @@ $button-color-active: #3498db; pointer-events: none; } } - - .c-editor-image { - max-width: 100%; - height: auto; - } } } @@ -453,3 +448,11 @@ $button-color-active: #3498db; } } } + + +.c-rich-text-editor__content { + .c-editor-image { + max-width: 100%; + height: auto; + } +}