WordPress.org

Make WordPress Core

Changeset 46555


Ignore:
Timestamp:
10/15/2019 07:37:03 PM (4 weeks ago)
Author:
johnbillion
Message:

Administration: Fix the appearance of update bubbles in submenus and when the admin menu is collapsed.

Props afercia, amolv, sabernhardt

Fixes #42201, #48294

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/admin-menu.css

    r46460 r46555  
    168168    color: #b4b9be;
    169169    color: rgba(240, 245, 250, 0.7);
     170    display: flex;
    170171    font-size: 13px;
    171172    line-height: 1.4;
    172173    margin: 0;
    173174    padding: 5px 0;
     175    word-break: break-word;
    174176}
    175177
     
    340342    display: flex;
    341343    padding: 8px 0;
     344    word-break: break-word;
    342345}
    343346
     
    510513
    511514/* @todo: consider to use a single rule for these counters and the list table comments counters. */
     515#adminmenu .wp-submenu a > span,
    512516#adminmenu .wp-menu-name > span {
     517    margin: 0px 1px -1px 5px;
     518}
     519
     520#adminmenu .wp-submenu a > span > span,
     521#adminmenu .wp-menu-name > span > span,
     522#adminmenu .wp-submenu-head > span > span{
    513523    display: inline-block;
    514     vertical-align: top;
    515     margin: 1px 1px -1px 2px;
    516     padding: 0 6px;
     524    min-width: 8px;
     525    padding: 0 5px;
    517526    height: 18px;
    518527    border-radius: 9px;
     
    522531    line-height: 1.6;
    523532    text-align: center;
     533    word-break: normal;
    524534    z-index: 26;
    525 }
    526 
    527 #adminmenu li.current a .awaiting-mod,
    528 #adminmenu li a.wp-has-current-submenu .update-plugins {
    529     background-color: #ca4a1f;
    530     color: #fff;
     535
    531536}
    532537
Note: See TracChangeset for help on using the changeset viewer.