[wp-trac] [WordPress Trac] #40313: Admin bar search height in not proper

WordPress Trac noreply at wordpress.org
Fri Mar 31 16:08:16 UTC 2017


#40313: Admin bar search height in not proper
---------------------------------------+------------------
 Reporter:  sagarprajapati             |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  4.8
Component:  Toolbar                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui
---------------------------------------+------------------
Changes (by afercia):

 * keywords:  has-patch => has-patch has-screenshots


Comment:

 This is probably more a conflict with the Theme style. For example, Twenty
 Seventeen sets all the input fields to `display: block` using a selector
 that's a bit  too generic and selects also the admin bar search field.
 Changing the current style would probably break the search field when
 using other themes.

 To reduce the chances of conflicts, maybe the admin bar styles should have
 a higher specificity and explicitly set CSS properties that could be
 overridden by themes or plugins.

 To see the default WordPress style, I'd suggest to remove the theme style
 using the browser inspector. For example, this is Twenty Seventeen with no
 styles:

 [[Image(https://cldup.com/I7SDkC3jYL.png)]]

 and Twenty Seventeen with styles:

 [[Image(https://cldup.com/ZXa_2Iz0FE.png)]]

 Twenty Sixteen

 [[Image(https://cldup.com/FaJdcBbN0M.png)]]

 Twenty Fifteen

 [[Image(https://cldup.com/Ma9McSOhp0.png)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40313#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list