Opened 11 years ago
Closed 11 years ago
#28800 closed defect (bug) (fixed)
Media Grid View: Modals cut pictures off in Firefox
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
In the Media Library Grid View, when you click on an image, a modal pops up with the image information details and thumbnail. In Firefox, the image width overflows the container.
Steps to reproduce:
- Download the latest version of trunk
- Open the Media Library in FIrefox
- Click on an image (make sure it's a fairly large image to begin with)
- You will see the image overflows it's container.
Issue replicated on Firefox 25, 26, 27, 28, 29 and 30 and IE 9, 10, 11 (both Mac and PC)
Does not happen on Chrome or Safari
I had a look at the CSS and it looks like the issue is happening because of a problem with max-width not being set properly for Firefox. I made 2 changes that fixed the issue and now the images are also responsive to their containers which looks even better in mobile devices.
I've attached my patch to this ticket.
Once the patch is applied, here's what it looks like:
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
We need to figure out something better for the size of the image and probably what info is displayed over there in general (perhaps none at all besides the image), but adding this for now to make it acceptable for beta.