featherlight icon indicating copy to clipboard operation
featherlight copied to clipboard

Aspect Ratio feature?

Open tilllt opened this issue 4 years ago • 1 comments

What kind of issue is this? (put 'x' between the square brackets)

  • [X] Feature Request. Make sure there's no good way to do what you want first; consider asking on http://stackoverflow.com/questions/ask first.

I would like to open a lightbox with a size relative to the viewport (lets say width:85vw) but a fixed aspect ration, in this case for 16:9 video. This should be device independent, no matter if its open on a phone or a desktop browsers. as far as i can see, this is not possible right now. it would be great if this functionality was added.

tilllt avatar Jul 29 '21 12:07 tilllt

Can you not add it to your content instead? https://caniuse.com/?search=aspect-ratio

timint avatar Nov 17 '21 23:11 timint