Opened 11 years ago
Closed 11 years ago
#25977 closed defect (bug) (fixed)
MP6: the media modal is broken in smaller windows
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.8 | Priority: | highest omg bbq |
Severity: | major | Version: | 3.8 |
Component: | Administration | Keywords: | has-patch needs-refresh |
Focuses: | ui | Cc: |
Description
After the MP6 merge the media modal looks broken when the window height is 600px or less.
Attachments (7)
Change History (17)
#2
@
11 years ago
- Component changed from General to Administration
- Keywords ui-focus added
- Summary changed from The media modal is broken in smaller windows to MP6: the media modal is broken in smaller windows
#3
@
11 years ago
- Cc asmussen@… added
- Keywords has-patch added; needs-patch removed
Attached patch with a refactor of the media modal responsive code:
- changed load order so larger breakpoint would be before smaller breakpoint
- changed back some of the responsive code to use absolute positioning rather than floats, to fix some overflow issues
- removed the max-height media query so that desktop browsers can also benefit from the responsive code and not just (by todays standards) small smartphones
#5
@
11 years ago
Thanks, Joen. I've left this ticket open because we've still got some problems when in landscape mode -- if the viewport is sufficiently wider than it is tall, scrolling the list of images becomes very difficult and the Insert button can become hidden. The design of the media uploader could really benefit from a more comprehensive re-think at mobile sizes, but I think a few more tweaks for landscape would make it more usable.
#7
@
11 years ago
Replying to iammattthomas:
I've taken a second stab at the queries:
- Merged the 782 and 500 width queries into a single 640px query. For the layout we're trying to create, this appeared to work the best.
- At this breakpoint, the full-bleed modal code that removes the drop shadow goes into effect, adding a fair bit of room and making sure the Insert button is on the screen.
- For only landscape views, the modal tabs (which when responsive are on top) are shown in a single line.
Looks like this in landscape now:
#9
@
11 years ago
- Priority changed from normal to highest omg bbq
- Severity changed from normal to major
#10
@
11 years ago
- Resolution set to fixed
- Status changed from new to closed
Trac missed my commit of Joen's latest patch in r26250. While the media uploader still has some issues on mobile, I think it's going to take a new design for the uploader to solve some of those problems. At any rate, the issue described in this ticket when the window height is 600px or less has been solved, so I'm marking this as fixed.
At 601px:

At 600px:
