Administration: Site Health: reserve some space for the admin notices.

Props xkon, Clorith, hedgefield, mapk, karmatosed, afercia.
Fixes #46651.

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


git-svn-id: http://core.svn.wordpress.org/trunk@44900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2019-04-01 18:01:52 +00:00
parent 57a8f51e06
commit 83546a04f5
7 changed files with 45 additions and 3 deletions

View File

@ -393,11 +393,30 @@
display: none;
}
/* 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;
}
@media screen and (max-width: 782px) {
.health-check-body {
margin: 0 12px;
width: auto;
}
.site-health .notice {
margin: 5px 10px 15px;
}
.site-health .update-nag {
margin-left: 10px;
margin-right: 10px;
}
}
/* The breakpoint is usually at 960px, the additional space is to allow for the margin. */

File diff suppressed because one or more lines are too long

View File

@ -393,11 +393,30 @@
display: none;
}
/* 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;
}
@media screen and (max-width: 782px) {
.health-check-body {
margin: 0 12px;
width: auto;
}
.site-health .notice {
margin: 5px 10px 15px;
}
.site-health .update-nag {
margin-right: 10px;
margin-left: 10px;
}
}
/* The breakpoint is usually at 960px, the additional space is to allow for the margin. */

File diff suppressed because one or more lines are too long

View File

@ -56,6 +56,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
</nav>
</div>
<hr class="wp-header-end">
<div class="notice notice-error hide-if-js">
<p><?php _e( 'The Site Health check requires JavaScript.' ); ?></p>
</div>

View File

@ -61,6 +61,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
</nav>
</div>
<hr class="wp-header-end">
<div class="notice notice-error hide-if-js">
<p><?php _e( 'The Site Health check requires JavaScript.' ); ?></p>
</div>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta1-45090';
$wp_version = '5.2-beta1-45091';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.