Make WordPress Core

Changeset 54220


Ignore:
Timestamp:
09/19/2022 09:49:44 PM (2 years ago)
Author:
audrasjb
Message:

General: Ensure admin notices are properly displayed on Site Health layout.

This changeset adds some CSS tweaks to ensure admin notices like the "Automated update failed" notice don't break the layout of the Site Health and Privacy Settings screens.

Props johnjamesjacoby, costdev, Clorith, audrasjb, SergeyBiryukov, joedolson.
Fixes #54624.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r53115 r54220  
    724724.site-health.auto-fold #wpcontent {
    725725    padding-left: 0;
     726}
     727
     728/* Better position for the WordPress admin notices. */
     729.privacy-settings .notice,
     730.site-health .notice {
     731    margin: 25px 20px 15px 22px;
     732}
     733
     734.privacy-settings .notice ~ .notice,
     735.site-health .notice ~ .notice {
     736    margin-top: 5px;
    726737}
    727738
  • trunk/src/wp-admin/css/site-health.css

    r54197 r54220  
    281281}
    282282
    283 
    284 /* Better position for the WordPress admin notices and update nag. */
    285 .site-health .notice {
    286     margin: 5px 20px 15px 22px;
    287 }
    288 
    289 .site-health .update-nag {
    290     margin-bottom: 20px;
    291     margin-left: 22px;
    292 }
    293 
    294283.health-check-wp-paths-sizes.spinner {
    295284    visibility: visible;
Note: See TracChangeset for help on using the changeset viewer.