From aa681ec890ece77add995d5d6b8efd6167c5ed48 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Tue, 2 Apr 2024 14:12:20 +0500 Subject: [PATCH] reset post width on site editor --- block-styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block-styles.css b/block-styles.css index ac00cb4..dbae6eb 100644 --- a/block-styles.css +++ b/block-styles.css @@ -73,7 +73,7 @@ ul.is-style-arrow-list { } /* HACK: fixing stretched out post width in editor */ -.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)), -.editor-styles-wrapper .editor-editor-canvas__post-title-wrapper > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { +:not(.edit-site-visual-editor__editor-canvas) .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)), +:not(.edit-site-visual-editor__editor-canvas) .editor-styles-wrapper .editor-editor-canvas__post-title-wrapper > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 600px !important; } \ No newline at end of file