[wp-trac] Re: [WordPress Trac] #6415: Sidebar name in widgets admin screen not styled properly

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 27 20:02:18 GMT 2008

#6415: Sidebar name in widgets admin screen not styled properly
 Reporter:  Denis-de-Bernardy  |        Owner:  mdawaffe
     Type:  defect             |       Status:  assigned
 Priority:  low                |    Milestone:  2.5     
Component:  Administration     |      Version:  2.5     
 Severity:  trivial            |   Resolution:          
 Keywords:                     |  
Changes (by mdawaffe):

  * status:  new => assigned


 Tricky since both the select and the input have completely unknown width.

 I'm not sure what the best (non-JS) solution is here; my CSS-fu isn't
 strong enough.

 I think the "right" thing to do would be to tell those two elements (the
 select and the input) to fill up up to 100% of the available width and no
 more.  If they need more room, the input should get as much as it needs,
 and the select should be truncated.

 I don't have any idea how to do that.

 I've experimented a bit with setting both element's max-width to be ~50%.
 This is a bad approximation to the above algorithm that works well enough
 in FF.  I'll test it in other browsers before sending a patch.

 If someone has a better solution, please grab this ticket and patch it.

Ticket URL: <http://trac.wordpress.org/ticket/6415#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list