[wp-trac] [WordPress Trac] #21752: Dropdown for "Show all dates" should have a flexible width

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 11:01:21 UTC 2012


#21752: Dropdown for "Show all dates" should have a flexible width
-------------------------+--------------------
 Reporter:  tar.gz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  UI           |     Version:  3.4.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------

Comment (by SergeyBiryukov):

 Introduced in [9328], altered in [12357] (for #11293).

 [attachment:21752.2.patch] removes fixed width from the dropdowns and adds
 `max-width`.

 Screenshot: [attachment:21752.2.after.png]. Tested in Firefox 15, Chrome
 21, IE 7, IE 8, Opera 12.

 IE 8 has two bugs:
 * If fixed width is not set, longer strings overlap with the arrow:
 [attachment:21752.2.ie8-bug-1.png].
 * Options that are wider than the select's set width are cropped:
 [attachment:21752.2.ie8-bug-2.png] (currently happens in trunk).

 The patch addresses both.

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


More information about the wp-trac mailing list