Make WordPress Core

Changeset 30955


Ignore:
Timestamp:
12/17/2014 04:38:51 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fifteen: ensure menu icon is properly centered for RTL views on small screens.

Props iamtakashi, fixes #30739.

Location:
trunk/src/wp-content/themes/twentyfifteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/rtl.css

    r30806 r30955  
    127127}
    128128
    129 .secondary-toggle:before {
    130     right: 0;
    131     left: auto;
    132 }
    133 
    134 .secondary-toggle.toggled-on:before {
    135     right: 0;
    136     left: auto;
    137 }
    138 
    139129.post-navigation .has-post-thumbnail a:before {
    140130    right: 0;
  • trunk/src/wp-content/themes/twentyfifteen/style.css

    r30953 r30955  
    903903    color: #333;
    904904    content: "\f419";
    905     line-height: 42px;
    906     position: relative;
    907     top: -1px;
    908     left: 0;
     905    line-height: 40px;
     906    width: 40px;
    909907}
    910908
     
    920918    content: "\f405";
    921919    font-size: 32px;
    922     top: 0;
     920    position: relative;
     921    top: 1px;
    923922    left: -1px;
    924923}
     
    28842883
    28852884    .secondary-toggle:before {
    2886         line-height: 56px;
     2885        line-height: 54px;
     2886        width: 54px;
    28872887    }
    28882888
     
    34763476
    34773477    .secondary-toggle:before {
    3478         line-height: 64px;
     3478        line-height: 62px;
     3479        width: 62px;
    34793480    }
    34803481
Note: See TracChangeset for help on using the changeset viewer.