[wp-trac] [WordPress Trac] #42623: #wp-admin-bar-wp-logo incorrect styling on max-wdith: 782px.

WordPress Trac noreply at wordpress.org
Sun Nov 19 08:11:35 UTC 2017


#42623: #wp-admin-bar-wp-logo incorrect styling on max-wdith: 782px.
--------------------------+-----------------------------
 Reporter:  mressex       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Toolbar       |    Version:  4.9
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-----------------------------
 When resizing the browser to 782px - 601px, I've noticed the WordPress
 logo within the admin bar is off-centered by a few pixels.

 wp-includes/css/admin-bar.css
 line 872
 {{{
         #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
                 font: 28px/1 dashicons !important;
                 top: -3px;
         }
 }}}

 Changing top: -3px to 9px fixes this.

 Tested in Chrome, Firefox and Edge.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42623>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list