Administration: Improve the horizontal centering of the Site Health tabs.

Props dkarfa, davidbaumwald, Clorith, tinkerbelly, afercia.
Fixes #46881.

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


git-svn-id: http://core.svn.wordpress.org/trunk@45333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2019-06-12 19:31:52 +00:00
parent 9f7f9d2d89
commit 9f579ea448
5 changed files with 41 additions and 5 deletions

View File

@ -108,8 +108,18 @@
}
}
.health-check-tabs-wrapper {
/* IE 11 */
display: -ms-inline-grid;
-ms-grid-columns: 1fr 1fr;
vertical-align: top;
/* modern browsers */
display: inline-grid;
grid-template-columns: 1fr 1fr;
}
.health-check-tab {
display: inline-block;
display: block; /* IE 11 */
text-decoration: none;
color: inherit;
padding: 0.5rem 1rem 1rem;
@ -117,6 +127,14 @@
transition: box-shadow 0.5s ease-in-out;
}
.health-check-tab:nth-child(1) {
-ms-grid-column: 1; /* IE 11 */
}
.health-check-tab:nth-child(2) {
-ms-grid-column: 2; /* IE 11 */
}
.health-check-tab:focus {
color: #191e23;
outline: 1px solid #6c7781;

File diff suppressed because one or more lines are too long

View File

@ -108,8 +108,18 @@
}
}
.health-check-tabs-wrapper {
/* IE 11 */
display: -ms-inline-grid;
-ms-grid-columns: 1fr 1fr;
vertical-align: top;
/* modern browsers */
display: inline-grid;
grid-template-columns: 1fr 1fr;
}
.health-check-tab {
display: inline-block;
display: block; /* IE 11 */
text-decoration: none;
color: inherit;
padding: 0.5rem 1rem 1rem;
@ -117,6 +127,14 @@
transition: box-shadow 0.5s ease-in-out;
}
.health-check-tab:nth-child(1) {
-ms-grid-column: 1; /* IE 11 */
}
.health-check-tab:nth-child(2) {
-ms-grid-column: 2; /* IE 11 */
}
.health-check-tab:focus {
color: #191e23;
outline: 1px solid #6c7781;

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45520';
$wp_version = '5.3-alpha-45522';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.