Ticket #19339 (closed defect (bug): fixed)

Opened 6 months ago

Last modified 6 months ago

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

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

Change History

Changing to min-width seems fine.

Change width to min-width

  • Keywords has-patch added
  • Keywords commit added
  • Milestone changed from Awaiting Review to Future Release
  • Milestone changed from Future Release to 3.3

Broken in [18619].

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

Fine by me.

Tested in Press This as well.

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

In [19544]:

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

  • Status changed from closed to reopened
  • Resolution fixed deleted

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

So, min-width: 250px?

azaozz6 months ago

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

In [19546]:

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

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.