Make WordPress Core

Opened 20 months ago

Last modified 19 months ago

#26575 new defect (bug)

Dashboard widgets should be able to specify a min-width at which they span two columns

Reported by: markjaquith Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.8
Component: Administration Keywords:
Focuses: Cc:


Some dashboard widgets don't do well in skinny columns. Maybe we should let them specify a min-width. If breached, they could span two columns. Certainly would be useful for stats/traffic widgets.

Change History (5)

comment:1 @mattbeck20 months ago


Large screens with small numbers of widgets are implemented badly in the current responsive design.

Content is squashed into tiny columns, and the column count expands past the number of active widgets.

Best case would be for the number/width of columns to adjust to the number of active dashboard widgets instead of displaying the empty drag/drop areas.

In lieu of that some mechanism to specify either column-count of a widget intended to be wide and/or better yet - maximum number of columns to display on the dashboard would be great.

comment:2 @helen20 months ago

I actually asked about multi-column width widgets and a Masonry-esque layout during DASH dev - I think it'd be a great thing to iterate and make better. I also really like the idea of being even smarter and adjusting based on how many widgets are shown as well.

comment:3 follow-up: @toscho20 months ago

  • Cc info@… added

The existing user controls worked well. They still do, once reactivated, see #26354.

The plain number of widgets doesn’t tell us anything about the space they need. That depends on their content and the user’s font size settings.

comment:4 in reply to: ↑ 3 @SergeyBiryukov20 months ago

Replying to toscho:

The existing user controls worked well. They still do, once reactivated, see #26354.

FWIW, that snippet only works for switching between 1 or 2 columns. I've tried to increase the max parameter to 4, but that didn't work.

comment:5 @RobertPHeller19 months ago

  • Cc heller@… added
Note: See TracTickets for help on using tickets.