From d17fa9c35f4280dfc3761159e1594e46b960f96e Mon Sep 17 00:00:00 2001 From: Osama Sayed Date: Tue, 3 Dec 2024 11:06:47 +0700 Subject: [PATCH] Set maximum width for iframes (#2254) --- src/components/MarkdownEditor/MarkdownEditor.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/MarkdownEditor/MarkdownEditor.module.scss b/src/components/MarkdownEditor/MarkdownEditor.module.scss index 19735070b3..7181fd88cd 100644 --- a/src/components/MarkdownEditor/MarkdownEditor.module.scss +++ b/src/components/MarkdownEditor/MarkdownEditor.module.scss @@ -84,6 +84,7 @@ iframe { display: block; // Makes iframe a block element, ensuring it's on a new line margin: var(--spacing-medium) auto; // Centers the iframe and adds vertical spacing + max-width: 100%; } } .content {