Skip to content
Permalink
Browse files

Administration: Improve the horizontal centering of the Site Health t…

…abs.

Props dkarfa, davidbaumwald, Clorith, tinkerbelly, afercia.
Merges [45522] to the 5.2 branch.
Fixes #46881 for 5.2.2.


git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45523 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
afercia committed Jun 12, 2019
1 parent b509dbb commit 1e089c32c471df98bf723161893e191e171ea403
Showing with 19 additions and 1 deletion.
  1. +19 −1 src/wp-admin/css/site-health.css
@@ -108,15 +108,33 @@
}
}

.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;
margin: 0 1rem;
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;

0 comments on commit 1e089c3

Please sign in to comment.
You can’t perform that action at this time.