Skip to content

Commit 9d4f4a9

Browse files
Editor: fix site editor layout bug.
Removes additional wrapper introduced in [56025], which interfered with the site editor flex layout. Props ramonopoly, kevin940726, joedolson. Fixes 56228. git-svn-id: https://develop.svn.wordpress.org/trunk@56029 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f571f45 commit 9d4f4a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/wp-admin/site-editor.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ static function( $classes ) {
132132
require_once ABSPATH . 'wp-admin/admin-header.php';
133133
?>
134134

135-
<div class="edit-site">
136-
<div id="site-editor"></div>
137-
135+
<div class="edit-site" id="site-editor">
138136
<?php // JavaScript is disabled. ?>
139137
<div class="wrap hide-if-js site-editor-no-js">
140138
<h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1>

0 commit comments

Comments
 (0)