WordPress.org

Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#19339 closed defect (bug) (fixed)

Parent Taxonomy select box cutting off text

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

Description

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

Download all attachments as: .zip

Change History (14)

comment:1 nacin19 months ago

Changing to min-width seems fine.

jgadbois19 months ago

Change width to min-width

comment:2 jgadbois19 months ago

  • Keywords has-patch added

comment:3 nacin19 months ago

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

comment:4 nacin19 months ago

  • Milestone changed from Future Release to 3.3

Broken in [18619].

comment:5 nacin19 months ago

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

comment:6 ryan19 months ago

Fine by me.

comment:7 nacin19 months ago

Tested in Press This as well.

comment:8 nacin19 months 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 azaozz19 months 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 nacin19 months ago

So, min-width: 250px?

azaozz19 months ago

comment:11 azaozz19 months 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 azaozz19 months 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.