Make WordPress Core

Changeset 54197


Ignore:
Timestamp:
09/18/2022 01:27:13 AM (2 years ago)
Author:
Clorith
Message:

Site Health: Adjust margins for the Site Health dashboard widget.

This aligns the spacing within the widget with other core widgets, and removes an unintended margin which was pushing the indicator slightly above the centered position it was intended to have.

Props sabernhardt, costdev, mukesh27.
Fixes #56369.

File:
1 edited

Legend:

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

    r52018 r54197  
    1010    padding: 0;
    1111    font-weight: 400;
    12 }
    13 
    14 .health-check-widget-title-section {
    15     text-align: center;
    1612}
    1713
     
    308304}
    309305
     306#dashboard_site_health .site-health-details p:first-child {
     307    margin-top: 0;
     308}
     309
     310#dashboard_site_health .site-health-details p:last-child {
     311    margin-bottom: 0;
     312}
     313
    310314#dashboard_site_health .health-check-widget {
    311315    display: grid;
     
    319323}
    320324
     325.health-check-widget-title-section {
     326    margin-bottom: 0;
     327    text-align: center;
     328}
     329
    321330@media screen and (max-width: 480px) {
    322331    #dashboard_site_health .health-check-widget {
Note: See TracChangeset for help on using the changeset viewer.