[wp-trac] [WordPress Trac] #22020: Admin Select CSS

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 10 14:50:46 UTC 2012


#22020: Admin Select CSS
-------------------------+--------------------
 Reporter:  WraithKenny  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  UI           |     Version:  trunk
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------

Comment (by WraithKenny):

 The rule that defines `padding: 2px;` is applied generally (both
 `#wpcontent option` and `select option` define this), overwriting
 Firefox's built-in style (equivalent to `padding: 0 5px 0 3px;`) that had
 accounted for the unevenness. (They use -moz-padding-start, -moz-padding-
 end.)

 In any case, if we use the prefix like the browser style, we can be sure
 to not cause issues with other vendors, and be ltr/rtl compat (I think).
 Tested in Firebug:

 {{{
 #wpcontent option {
     padding: 2px;
     -moz-padding-end: 6px;
 }
 }}}

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


More information about the wp-trac mailing list