Opened 2 years ago

Last modified 7 months ago

#17209 new defect (bug)

Category list table breaks when custom post type label is too long

Reported by: andrewryno Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version: 3.1
Severity: normal Keywords:
Cc:

Description

Registered a post type which has a longer label than "posts" (called "resources"). List table listing the categories for that post type breaks slightly when a name is over a certain length. Picture attached.

Offending CSS is setting a 10% width to that column.

I can provide a patch. Though since the number of posts is centered, the heading is left aligned. If that column is widened, should the title be centered as well (since left-aligned may look weird at one point)?

Attachments (1)

DyvL.Screen shot 2011-04-21 at 13-37-42.png (30.3 KB) - added by andrewryno 2 years ago.

Download all attachments as: .zip

Change History (7)

I propose we don't use the post type label there at all, as it's not accurate anyway. Just use 'Count' or some other fixed string.

Related: #14076

Replacing the label with "Count" also wouldn't require any CSS changes. I can upload a patch later if we want to change it to that (or any other standardized word).

  • Keywords ui-feedback ux-feedback added

Fixed in [18875]? Rather than wrapping, it just gets hidden. Suggest closing, although there could possibly be a better option.

http://d.pr/zjpX

  • Component changed from UI to Administration
  • Keywords ui-feedback ux-feedback removed

[18875] was reverted, so not fixed there. However, I like the idea of "Count", given #14076/#14084.

Note: See TracTickets for help on using tickets.