mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
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:
parent
57a8f51e06
commit
83546a04f5
@ -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. */
|
||||
|
2
wp-admin/css/site-health-rtl.min.css
vendored
2
wp-admin/css/site-health-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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. */
|
||||
|
2
wp-admin/css/site-health.min.css
vendored
2
wp-admin/css/site-health.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user