Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#19339 closed defect (bug) (fixed)

Parent Taxonomy select box cutting off text

Reported by: jgadbois Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: UI Keywords: has-patch commit
Focuses: Cc:


The following CSS rule makes the parent taxonomy select on the Add Post screen only take up about half of the available space. For many taxonomies this cuts off the "-- Parent Taxonomy --" text. Is there a reason the available room isn't being used?

#side-sortables .category-add input[type="text"], #side-sortables .category-add select {
   width: 160px;

Attachments (2)

19339.patch (391 bytes) - added by jgadbois 5 years ago.
Change width to min-width
wp-admin.dev.css.patch (707 bytes) - added by azaozz 5 years ago.

Download all attachments as: .zip

Change History (14)

#1 @nacin
5 years ago

Changing to min-width seems fine.

5 years ago

Change width to min-width

#2 @jgadbois
5 years ago

  • Keywords has-patch added

#3 @nacin
5 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to Future Release

#4 @nacin
5 years ago

  • Milestone changed from Future Release to 3.3

Broken in [18619].

#5 @nacin
5 years ago

It was full width in 3.2. Per IRC, going with width: 100% rather than min-width.

#6 @ryan
5 years ago

Fine by me.

#7 @nacin
5 years ago

Tested in Press This as well.

#8 @nacin
5 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19544]:

Don't restrict width of the Parent Taxonomy dropdown. props jgadbois, fixes #19339.

#9 @azaozz
5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

This results in super wide text field and select when the Categories postbox is under the editor. Patching.

#10 @nacin
5 years ago

So, min-width: 250px?

#11 @azaozz
5 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In [19546]:

Make the Add new Category fields up to 260px wide, fixes #19339

#12 @azaozz
5 years ago

As discussed in IRC, the select will be end-to-end wide when on the left side or in Press This and 260px wide when under the editor.

Note: See TracTickets for help on using tickets.