sigal icon indicating copy to clipboard operation
sigal copied to clipboard

Vertically overflowing video in galleria template

Open cbosdo opened this issue 4 years ago • 4 comments

In the galleria template, the display of a vertical video overflows.

Screenshot of the overflow

This is easily fixed by adding height: 85% to the #gallery video CSS style... but I have no idea if this could have side effects.

cbosdo avatar Nov 13 '20 22:11 cbosdo

Maybe with max-height instead ?

saimn avatar Nov 14 '20 02:11 saimn

IIRC, I found also video in the landscape format that were a little small... that's why I suggested height but max-height would fit for the sample I showed here

cbosdo avatar Nov 14 '20 18:11 cbosdo

Currently #gallery video has a width: 100%; so it should fit the galleria container ? My CSS is a bit rusty, so I'm not sure what's the best way nowadays for adaptive sizes. Any suggestion (and PR ;)) is welcome.

saimn avatar Nov 18 '20 02:11 saimn

hehe, I never really had impressive CSS skills and they surely are not up to date with the current standards :)

cbosdo avatar Nov 18 '20 07:11 cbosdo