Twenty Fifteen & Twenty Sixteen: 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.

Props antonlukin, paaljoachim, felipeelia.
Reviewed by ryelle, SergeyBiryukov.
Merges [50465] to the 5.7 branch.
Fixes #52646.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-03-02 12:45:42 +00:00
parent d0ca6fc35e
commit c0f15dc19b
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ body {
font-weight: 400;
font-size: 17px;
line-height: 1.6471;
margin: 20px 40px;
margin: auto 20px;
max-width: 660px;
vertical-align: baseline;
}

View File

@ -28,7 +28,7 @@ body {
font-size: 16px;
font-weight: 400;
line-height: 1.75;
margin: 20px 40px;
margin: auto 20px;
max-width: 600px;
vertical-align: baseline;
}