WordPress.org

Make WordPress Core

Changeset 45523


Ignore:
Timestamp:
06/12/2019 07:35:20 PM (3 months ago)
Author:
afercia
Message:

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

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

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/css/site-health.css

    r45514 r45523  
    109109}
    110110
     111.health-check-tabs-wrapper {
     112    /* IE 11 */
     113    display: -ms-inline-grid;
     114    -ms-grid-columns: 1fr 1fr;
     115    vertical-align: top;
     116    /* modern browsers */
     117    display: inline-grid;
     118    grid-template-columns: 1fr 1fr;
     119}
     120
    111121.health-check-tab {
    112     display: inline-block;
     122    display: block; /* IE 11 */
    113123    text-decoration: none;
    114124    color: inherit;
     
    116126    margin: 0 1rem;
    117127    transition: box-shadow 0.5s ease-in-out;
     128}
     129
     130.health-check-tab:nth-child(1) {
     131    -ms-grid-column: 1; /* IE 11 */
     132}
     133
     134.health-check-tab:nth-child(2) {
     135    -ms-grid-column: 2; /* IE 11 */
    118136}
    119137
Note: See TracChangeset for help on using the changeset viewer.