From e429bd99b155b738c13f7349fb1266d75301a00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lys=C3=BD?= Date: Tue, 7 Jan 2025 11:24:33 +0100 Subject: [PATCH] Update styles for mobile preview I removed some deprecated styles and updated the style affecting images in mobile preview. [MAILPOET-6368] --- .../php/email-editor/src/Engine/content-editor.css | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/php/email-editor/src/Engine/content-editor.css b/packages/php/email-editor/src/Engine/content-editor.css index e87c44e5a8..05e3a657c8 100644 --- a/packages/php/email-editor/src/Engine/content-editor.css +++ b/packages/php/email-editor/src/Engine/content-editor.css @@ -109,17 +109,6 @@ ol.has-background { * Mobile preview fixes */ .is-mobile-preview figure > div { + max-width: 100% !important; height: auto !important; - width: auto !important; -} - -.is-mobile-preview .wp-block-columns { - display: flex; - flex-direction: column; -} - -.is-mobile-preview .wp-block-column { - box-sizing: border-box; - /* override flex-basis set in style attribute to fix the height of the column in mobile preview. Blocks overriding is as a part of style.css in blocks-library */ - flex-basis: auto !important; }