WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#11858 closed enhancement (fixed)

Add Margin to QuickEdit Categories for Easier Viewing

Reported by: studionashvegas Owned by: nacin
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: has-patch
Focuses: Cc:

Description

My first ticket, so pardon any ignorance.

When you're quick editing posts the categories are all lined up flush to the left margin, resulting in child categories being hard to distinguish from parent categories.

It's a simple fix, and i've attached the necessary CSS below.

Attachments (2)

categorymargin-quickedit.css (35 bytes) - added by studionashvegas 11 years ago.
CSS to add to admin styles in order to segment child categories in quick edit
11858.diff (391 bytes) - added by nacin 11 years ago.
wp-admin.dev.css, adding to existing indent declaration

Download all attachments as: .zip

Change History (10)

@studionashvegas
11 years ago

CSS to add to admin styles in order to segment child categories in quick edit

#1 @studionashvegas
11 years ago

  • Cc studionashvegas added

#2 @studionashvegas
11 years ago

  • Keywords ui quickedit added
  • Milestone changed from Unassigned to 3.0
  • Owner set to studionashvegas
  • Severity changed from minor to normal
  • Status changed from new to accepted

#3 @studionashvegas
11 years ago

  • Keywords has-patch added

@nacin
11 years ago

wp-admin.dev.css, adding to existing indent declaration

#4 @nacin
11 years ago

I've added another patch that incorporates this into wp-admin.dev.css, applying the same CSS as the list and post category checklists.

To test, you'd need define('STYLE_DEBUG', true); in wp-config.php.

#5 @chrisscott
11 years ago

  • Keywords tested added

Tested attachment:ticket:11858:11858.diff on r13330 and it works well.

#6 @nacin
11 years ago

  • Keywords ui quickedit tested removed
  • Owner changed from studionashvegas to nacin

Is there any reason we wouldn't want to do this? The Quick Edit categories box isn't so wide, so a deep hierarchy could pose an issue. I doubt we account for horizontal scrolling in the div.

Needs a second look, anyone want to create a large hierarchy on their testbed?

#7 @chrisscott
11 years ago

Since the layout of the post edit table is somewhat fluid, the result of really deep hierarchy (6 or more in my testing) for the Quick Edit display is that the Tags column drops below it. This is also the same result if you don't have a deep hierarchy and just resize your browser window to be narrower than about 920px. Tested on FF and Safari on a Mac.

#8 @dd32
11 years ago

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

(In [13901]) Display hierarchy in Hierarchical taxonomy Quick edit box. Props nacin. Fixes #11858

Note: See TracTickets for help on using tickets.