Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 4 years ago.
Change width to min-width
wp-admin.dev.css.patch (707 bytes) - added by azaozz 4 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 @nacin4 years ago

Changing to min-width seems fine.

@jgadbois4 years ago

Change width to min-width

comment:2 @jgadbois4 years ago

  • Keywords has-patch added

comment:3 @nacin4 years ago

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

comment:4 @nacin4 years ago

  • Milestone changed from Future Release to 3.3

Broken in [18619].

comment:5 @nacin4 years ago

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

comment:6 @ryan4 years ago

Fine by me.

comment:7 @nacin4 years ago

Tested in Press This as well.

comment:8 @nacin4 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.

comment:9 @azaozz4 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.

comment:10 @nacin4 years ago

So, min-width: 250px?

@azaozz4 years ago

comment:11 @azaozz4 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

comment:12 @azaozz4 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.