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, SergeyBiryukov.
Merges [50534] to the 5.7 branch.
Fixes #52816.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Wilson 2021-03-26 04:08:37 +00:00
parent 84dc8fce67
commit 3a3839c56c

View File

@ -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;
}