From e1548707782c787c2a7ea8acef5c4b41fca5072e Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Sun, 31 Mar 2024 17:34:06 +0500 Subject: [PATCH] fix blog post editor having wide width --- block-styles.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/block-styles.css b/block-styles.css index 2313bd7..af19424 100644 --- a/block-styles.css +++ b/block-styles.css @@ -70,4 +70,10 @@ */ ul.is-style-arrow-list { list-style-image: url('https://beta.autonomic.zone/wp-content/uploads/2023/01/arrow.png'); +} + +/* 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)) { + max-width: 800px; } \ No newline at end of file