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.


Built from https://develop.svn.wordpress.org/trunk@54220


git-svn-id: http://core.svn.wordpress.org/trunk@53779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-19 21:51:11 +00:00
parent 0c20fb1ad8
commit 08d046c717
9 changed files with 27 additions and 27 deletions

View File

@ -726,6 +726,17 @@ form#tags-filter {
padding-right: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 22px 15px 20px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {

File diff suppressed because one or more lines are too long

View File

@ -725,6 +725,17 @@ form#tags-filter {
padding-left: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 20px 15px 22px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {

File diff suppressed because one or more lines are too long

View File

@ -281,17 +281,6 @@ are styled in the Privacy section of edit.css */
padding-right: 20px;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
margin: 5px 22px 15px 20px;
}
.site-health .update-nag {
margin-bottom: 20px;
margin-right: 22px;
}
.health-check-wp-paths-sizes.spinner {
visibility: visible;
float: none;

File diff suppressed because one or more lines are too long

View File

@ -280,17 +280,6 @@ are styled in the Privacy section of edit.css */
padding-left: 20px;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
margin: 5px 20px 15px 22px;
}
.site-health .update-nag {
margin-bottom: 20px;
margin-left: 22px;
}
.health-check-wp-paths-sizes.spinner {
visibility: visible;
float: none;

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-54219';
$wp_version = '6.1-alpha-54220';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.