From 82598f94a50d5b34df56b40db770c86f50989b1d Mon Sep 17 00:00:00 2001 From: Mitchell Austin Date: Fri, 28 Jun 2024 00:44:19 -0700 Subject: [PATCH] Post editor: Fix triple scrollbars in device previews (#62940) * Fix triple scrollbars in post editor * Restore flex of VisualEditor when metaboxes are present Co-authored-by: stokesman Co-authored-by: talldan Co-authored-by: t-hamano --- packages/edit-post/src/components/layout/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-post/src/components/layout/style.scss b/packages/edit-post/src/components/layout/style.scss index 2c5a035cad1447..da42faba630fb1 100644 --- a/packages/edit-post/src/components/layout/style.scss +++ b/packages/edit-post/src/components/layout/style.scss @@ -1,4 +1,4 @@ -.editor-visual-editor { +.edit-post-layout.has-metaboxes .edit-post-visual-editor { flex: 1 0 auto; height: auto; }