Make WordPress Core

Changeset 45091


Ignore:
Timestamp:
04/01/2019 06:00:58 PM (5 years ago)
Author:
afercia
Message:

Administration: Site Health: reserve some space for the admin notices.

Props xkon, Clorith, hedgefield, mapk, karmatosed, afercia.
Fixes #46651.

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

Legend:

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

    r45087 r45091  
    394394}
    395395
     396/* Better position for the WordPress admin notices and update nag. */
     397.site-health .notice {
     398    margin: 5px 20px 15px 22px;
     399}
     400
     401.site-health .update-nag {
     402    margin-bottom: 20px;
     403    margin-left: 22px;
     404}
     405
    396406@media screen and (max-width: 782px) {
    397407    .health-check-body {
    398408        margin: 0 12px;
    399409        width: auto;
     410    }
     411
     412    .site-health .notice {
     413        margin: 5px 10px 15px;
     414    }
     415
     416    .site-health .update-nag {
     417        margin-right: 10px;
     418        margin-left: 10px;
    400419    }
    401420}
  • trunk/src/wp-admin/site-health-info.php

    r45087 r45091  
    5656    </nav>
    5757</div>
     58
     59<hr class="wp-header-end">
    5860
    5961<div class="notice notice-error hide-if-js">
  • trunk/src/wp-admin/site-health.php

    r45087 r45091  
    6161    </nav>
    6262</div>
     63
     64<hr class="wp-header-end">
    6365
    6466<div class="notice notice-error hide-if-js">
Note: See TracChangeset for help on using the changeset viewer.