Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #40701


Ignore:
Timestamp:
06/22/2017 09:30:33 PM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40701

    • Property Keywords has-patch added
  • Ticket #40701 – Description

    initial v3  
    11By default - when the admin menu is not folded - the icons in the admin menu are 36px wide.
    2 
     2{{{
    33#adminmenu div.wp-menu-image {
    44    float: left;
     
    88    text-align: center;
    99}
    10 
     10}}}
    1111With this width, Chrome renders the icons sharp.
    1212
    1313When the admin menu is folded it changes the width to 35px:
     14{{{
    1415.folded #adminmenu div.wp-menu-image {
    1516    width: 35px;
     
    1819    z-index: 25;
    1920}
    20 
     21}}}
    2122The icons are blurry as the lines in the icon shifted 0.5px horizontally -> antialising.
    2223
    2324Possible solution:
    2425Do not force .wp-menu-image to 35px when the menu folded.
    25 
     26{{{
    2627.folded #adminmenu div.wp-menu-image {
    2728    height: 30px;
     
    2930    z-index: 25;
    3031}
     32}}}