Make WordPress Core

Ticket #56369: 56369.2.diff

File 56369.2.diff, 1.0 KB (added by costdev, 4 years ago)

Includes changes in 56369.1.diff. Plus: a) Remove top margin on first paragraph. b) Remove bottom margin on last paragraph. - This makes the top/bottom margins consistent with other Dashboard widgets.

  • src/wp-admin/css/site-health.css

    diff --git a/src/wp-admin/css/site-health.css b/src/wp-admin/css/site-health.css
    index ed539d33ae..af8a43cc51 100644
    a b are styled in the Privacy section of edit.css */  
    1111        font-weight: 400;
    1212}
    1313
    14 .health-check-widget-title-section {
    15         text-align: center;
    16 }
    17 
    1814.site-health-progress-wrapper {
    1915        margin-bottom: 1rem;
    2016}
    are styled in the Privacy section of edit.css */  
    307303        padding-left: 16px;
    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;
    312316        grid-template-columns: 1fr 2fr;
    are styled in the Privacy section of edit.css */  
    318322        margin-left: 0;
    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 {
    323332                grid-template-columns: 100%;