[wp-trac] [WordPress Trac] #26175: WP 3.8-beta1 - MP6: admin bar menu entry broken on small devices

WordPress Trac noreply at wordpress.org
Sun Nov 24 18:00:41 UTC 2013


#26175: WP 3.8-beta1 - MP6: admin bar menu entry broken on small devices
--------------------------+------------------------------
 Reporter:  harmr         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  mp6           |
--------------------------+------------------------------

Comment (by harmr):

 found a solution by adding the following css definitions for my admin bar
 icon:

 /*MP6 admin bar */
 #wp-admin-bar-lmm > .ab-item .ab-icon:before {
         content: url('../img/icon-adminbar.png');
 }
 @media print,
   (-o-min-device-pixel-ratio: 5/4),
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
                 #wp-admin-bar-lmm > .ab-item .ab-icon:before {
                         content: url('../img/icon-adminbar.png');
                 }
 }
 @media screen and ( max-width: 782px ) {
         #wp-admin-bar-lmm > .ab-item .ab-icon:before {
                         content: url('../img/icon-adminbar-2x.png');
         }
 }

 ticket can be closed

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26175#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list