From a33ee3511aa0928095bd07595729cedb26e71e65 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 15 Mar 2021 13:24:24 +0000 Subject: [PATCH] Twenty Seventeen: Remove extra space around post editor. The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area. Follow-up to [50465]. Props joseeyoast, audrasjb. Fixes #52816. git-svn-id: https://develop.svn.wordpress.org/trunk@50534 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/editor-style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css b/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css index 00a412d4f6..749af42c10 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css +++ b/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css @@ -24,7 +24,7 @@ Description: Used to style the TinyMCE editor. body { background-color: #fff; color: #333; - margin: 20px 40px; + margin: auto 20px; max-width: 580px; }