Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aspect Ratio feature? #420

Open
1 task done
tilllt opened this issue Jul 29, 2021 · 1 comment
Open
1 task done

Aspect Ratio feature? #420

tilllt opened this issue Jul 29, 2021 · 1 comment

Comments

@tilllt
Copy link

tilllt commented Jul 29, 2021

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

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.

@timint
Copy link

timint commented Nov 17, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants