mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-05 17:00:03 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@56187 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user