Fixed Problem with Image Sizing in Firefox 34

Just an update on a permanent fix by the way.

I'm steering towards this being a browser bug but of course one that we'd need to workaround one way or another (in a better way than the current solution). I've reproduced a simplified test case so I'll submit that to Mozilla as a bug and in the meantime we'll see if there's a better workaround.
 
Deleting that code would not affect videos. The CSS we're removing doesn't apply to videos. Make sure you have deleted the correct code from the correct template.
 
I have only one template with this code.

xfmg1.webp

When i delete this code than i can only look the video after a click on this button

xfmg2.webp

I will take another look, maybe i find something.
 
With FF 34.0.5 ?

Here on two pc´s in my company i see it so how i wrote above, thats crazy.

I´ll take a look at home tonight, thanks for now.
 
I tried a few random videos as a guest in FF 34 and it displayed correctly for me on the main media display page.
 
Well, that was actually somewhat easier than I expected.

The change in Firefox is actually down to a change in the CSS Flexible Box Layout Module spec, so it's likely that this bug would have eventually affected other browsers.

If you implemented the previous workaround, please revert those changes.

The exact fix is to edit xengallery_media_view.css:
Code:
.mediaContainer .imageContainer
{
    margin: 0 auto;
}

Change that to:
Code:
.mediaContainer .imageContainer
{
    margin: 0 auto;
    min-width: 0;
}
 
You can fix this issue with this code inside your extra.css template:
PHP:
.mediaContainer .imageContainer {
    max-width: 100% !important;
}
 
Top Bottom