WordPress.org

Make WordPress Core

Ticket #34214: 34214.3.patch

File 34214.3.patch, 1.7 KB (added by afercia, 4 years ago)
  • src/wp-admin/css/about.css

     
    7979
    8080/* Tabs */
    8181
    82 .about-wrap h2 .nav-tab {
     82.about-wrap .nav-tab {
     83        padding-right: 15px;
     84        padding-left: 15px;
    8385        font-size: 18px;
    8486}
    8587
  • src/wp-admin/css/common.css

     
    19971997------------------------------------------------------------------------------*/
    19981998
    19991999.nav-tab {
    2000         display: inline-block;
     2000        float: left;
    20012001        border: 1px solid #ccc;
    20022002        border-bottom: none;
    2003         margin: 0 5px 0 0;
    2004         padding: 6px 10px;
    2005         font-size: 15px;
     2003        margin-left: 0.5em; /* half the font size so set the font size properly */
     2004        padding: 5px 10px;
     2005        font-size: 14px;
    20062006        line-height: 24px;
    20072007        font-weight: 600;
    20082008        background: #e4e4e4;
     
    20442044        color: #000;
    20452045}
    20462046
    2047 /* @todo: consider to use flexbox to reset white space between inline-block elements. */
    20482047h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
    20492048.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
    20502049h3.nav-tab-wrapper {
    20512050        border-bottom: 1px solid #ccc;
    20522051        margin: 0;
    2053         padding: 9px 15px 0 6px;
    2054         font-size: 1px; /* normalize white space between inline-block elements */
     2052        padding: 9px 15px 0 0;
    20552053        line-height: inherit;
    20562054}
    20572055
     2056/* contain floats */
     2057.nav-tab-wrapper:after {
     2058        content: "";
     2059        display: table;
     2060        clear: both;
     2061}
    20582062
    20592063/*------------------------------------------------------------------------------
    20602064  26.0 - Misc