[wp-trac] [WordPress Trac] #22703: Give more space to Tag/Taxonomy title in Bulk Edit interface

WordPress Trac noreply at wordpress.org
Mon Dec 3 21:23:53 UTC 2012


#22703: Give more space to Tag/Taxonomy title in Bulk Edit interface
-----------------------------+-------------------------
 Reporter:  tar.gz           |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  UI
  Version:  trunk            |   Severity:  minor
 Keywords:                   |
-----------------------------+-------------------------
 Another minor UI improvement for non-English users, and users of custom
 taxonomies:

 In the "Bulk Edit" interface (found at /wp-admin/edit.php), in the right
 panel that allows to edit the Tags, the title field ("Tags") is limited by
 CSS to 5em.

 The code for that is located in wp-admin/css/wp-admin.css :

 {{{
 .inline-edit-row fieldset label span.title {
         display: block;
         float: left;
         width: 5em;
 }
 }}}


 Those 5em are enough to display "Tags", but longer words will be broken.
 This doesn't make sense at this location, as there is ample room for a
 longer string. For instance in German, the default translation
 "Schlagworte" gets broken over two lines.

 The same is true for custom taxonomies: if you create a taxonomy named
 "Miscellaneous", it gets broken over two lines.

 '''What works:'''

 When using the Quick Edit interface, which has a similar layout, those
 titles are displayed on one line. A look at the CSS shows that there is an
 override for the Quick Edit interface:

 {{{
 .quick-edit-row-post fieldset.inline-edit-col-right label span.title {
         width: auto;
         padding-right: 0.5em;
 }
 }}}

 '''A possible solution:'''

 Without changing anything in the markup, we could extend the quick-edit
 override with one more selector, so that it gets also applied to those
 title fields:

 {{{
 .inline-edit-row fieldset label.inline-edit-tags span.title,
 .quick-edit-row-post fieldset.inline-edit-col-right label span.title {
         width: auto;
         padding-right: 0.5em;
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22703>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list