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.
Built from https://develop.svn.wordpress.org/trunk@54197


git-svn-id: http://core.svn.wordpress.org/trunk@53756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Clorith 2022-09-18 01:29:09 +00:00
parent 3c1cd858dd
commit e68db2692f
5 changed files with 29 additions and 11 deletions

View File

@ -12,10 +12,6 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
text-align: center;
}
.site-health-progress-wrapper {
margin-bottom: 1rem;
}
@ -308,6 +304,14 @@ are styled in the Privacy section of edit.css */
padding-right: 16px;
}
#dashboard_site_health .site-health-details p:first-child {
margin-top: 0;
}
#dashboard_site_health .site-health-details p:last-child {
margin-bottom: 0;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
@ -319,6 +323,11 @@ are styled in the Privacy section of edit.css */
margin-right: 0;
}
.health-check-widget-title-section {
margin-bottom: 0;
text-align: center;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;

File diff suppressed because one or more lines are too long

View File

@ -11,10 +11,6 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
text-align: center;
}
.site-health-progress-wrapper {
margin-bottom: 1rem;
}
@ -307,6 +303,14 @@ are styled in the Privacy section of edit.css */
padding-left: 16px;
}
#dashboard_site_health .site-health-details p:first-child {
margin-top: 0;
}
#dashboard_site_health .site-health-details p:last-child {
margin-bottom: 0;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
@ -318,6 +322,11 @@ are styled in the Privacy section of edit.css */
margin-left: 0;
}
.health-check-widget-title-section {
margin-bottom: 0;
text-align: center;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-54196';
$wp_version = '6.1-alpha-54197';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.