Make WordPress Core

Changeset 56187


Ignore:
Timestamp:
07/10/2023 09:20:15 PM (14 months ago)
Author:
joedolson
Message:

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.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r56027 r56187  
    580580.wrap {
    581581    margin: 10px 20px 0 2px;
    582 }
    583 
    584 .wrap.block-editor-no-js,
    585 .wrap.site-editor-no-js {
    586     padding-left: 20px;
    587582}
    588583
  • trunk/src/wp-admin/edit-form-blocks.php

    r55086 r56187  
    320320    <div class="wrap hide-if-js block-editor-no-js">
    321321        <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
    322         <div class="notice notice-error notice-alt">
     322        <div class="notice notice-error">
    323323            <p>
    324324                <?php
  • trunk/src/wp-admin/site-editor.php

    r56054 r56187  
    173173    <div class="wrap hide-if-js site-editor-no-js">
    174174        <h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1>
    175         <div class="notice notice-error notice-alt">
     175        <div class="notice notice-error">
    176176            <p>
    177177                <?php
Note: See TracChangeset for help on using the changeset viewer.