Editor: Fix layout of no-js state in site editor.

Remove padding and adjust classes to match current state of editor.

Props afercia, andraganescu, poena.
Fixes #56228.
Built from https://develop.svn.wordpress.org/trunk@56187


git-svn-id: http://core.svn.wordpress.org/trunk@55699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2023-07-10 21:22:21 +00:00
parent c319239bc3
commit 402ce56400
7 changed files with 5 additions and 15 deletions

View File

@ -582,11 +582,6 @@ code {
margin: 10px 2px 0 20px;
}
.wrap.block-editor-no-js,
.wrap.site-editor-no-js {
padding-right: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */

File diff suppressed because one or more lines are too long

View File

@ -581,11 +581,6 @@ code {
margin: 10px 20px 0 2px;
}
.wrap.block-editor-no-js,
.wrap.site-editor-no-js {
padding-left: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */

File diff suppressed because one or more lines are too long

View File

@ -319,7 +319,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php // JavaScript is disabled. ?>
<div class="wrap hide-if-js block-editor-no-js">
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
<div class="notice notice-error notice-alt">
<div class="notice notice-error">
<p>
<?php
$message = sprintf(

View File

@ -172,7 +172,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php // JavaScript is disabled. ?>
<div class="wrap hide-if-js site-editor-no-js">
<h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1>
<div class="notice notice-error notice-alt">
<div class="notice notice-error">
<p>
<?php
/**

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-beta3-56186';
$wp_version = '6.3-beta3-56187';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.