Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#28906 closed defect (bug) (duplicate)

Can't switch back from media library list view to grid view on small screens

Reported by: knutsp's profile knutsp Owned by:
Milestone: Priority: normal
Severity: major Version: 4.0
Component: Media Keywords: has-patch
Focuses: ui, administration Cc:


As per Helen's comment

Using Firefox inspector I see

@media screen and (max-width: 782px) {
.view-switch { display: none; }

Removing this rule reveals the switch at the bottom right, but it becomes misplaced and looks ugly. I guess it should stay at the top.

Attachments (1)

28906.diff (306 bytes) - added by knutsp 10 years ago.
Brings the .view-switch back, but not nice

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to 4.0

#2 @knutsp
10 years ago

Related: #28946

10 years ago

Brings the .view-switch back, but not nice

#3 @knutsp
10 years ago

  • Keywords has-patch added
  • Severity changed from normal to major

List tables must have the .view-switch even on mobile screens, especially on upload.php, because the new grid view has a visible .view-switch.

The other solution is to remove the .view-switch on the new media grid, making it the only available view on mobile screens.

Please help sort out what solution is the best. This patch is just a start.

Beta4 is out, and RC1 coming soon. This is now a trap with no escape, while on mobile.

#4 @helen
10 years ago

  • Milestone 4.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Will handle in #28946.

Note: See TracTickets for help on using tickets.