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. Built from https://develop.svn.wordpress.org/branches/5.7@50588 git-svn-id: http://core.svn.wordpress.org/branches/5.7@50201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c5e9f3656
commit
37dc8f3fc0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7.1-alpha-50587';
|
||||
$wp_version = '5.7.1-alpha-50588';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue