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

Add referenceWidth and referenceHeight to the configuration options #700

Open
yanntrividic opened this issue Aug 17, 2024 · 0 comments
Open
Labels

Comments

@yanntrividic
Copy link

This repo seems to be a bit dormant, but I like this project and I've been using it for some time now, so I thought it made sense to still submit an issue regarding this.

The Scaler makes it so the slides are device agnostic. Whatever the device you use, you should see the same thing. The problem I find with it is that there is no way to change the reference dimensions it sets, at least to my knowledge.

Those dimensions are currently a referenceWidth of 908px and a referenceHeight of 681px.

In most cases, it is not a problem, because you handle the CSS of your slides yourself. But when you integrate iframes loading HTML and CSS code from other websites, those values do matter to you because they define the dimensions of the content of those iframes.

It would be nice to be able to tweak them in the configuration options!

@tripu tripu added the feature label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants