Administration: Site Health: reserve some space for the admin notices.
Props xkon, Clorith, hedgefield, mapk, karmatosed, afercia. Fixes #46651. git-svn-id: https://develop.svn.wordpress.org/trunk@45091 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee5f858436
commit
1e0ef359fc
@ -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. */
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user