[wp-trac] [WordPress Trac] #34643: Admin-bar "Like" button on Page has incorrect line-height;

WordPress Trac noreply at wordpress.org
Tue Nov 10 07:07:08 UTC 2015


#34643: Admin-bar "Like" button on Page has incorrect line-height;
----------------------------+-----------------------------
 Reporter:  jekkilekki      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  4.3.1
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 This only applies to Pages as far as I can see. There's no "Like" button
 on the backend, nor one for Posts. It appears right next to the
 "Customize" button on a Page.

 The text "Like" floats underneath the Star icon and lower than the other
 elements on the page. See image:

 [[Image(http://www.aaronsnowberger.com/wp-content/uploads/2015/11/like-
 button-error.png)]]

 Pushing F12 and bringing up the Developer Tools, I found:

 {{{
 #wpadminbar .quicklinks li#wp-admin-bar-wpl-like > a { ... }
 }}}

 Add
 {{{
 line-height: inherit;
 }}}

 to fix the problem. See image:

 [[Image(http://www.aaronsnowberger.com/wp-content/uploads/2015/11/like-
 button-fixed.png)]]

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


More information about the wp-trac mailing list