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

Auto Ratio #17

Open
marcel-boer opened this issue Dec 28, 2024 · 2 comments
Open

Auto Ratio #17

marcel-boer opened this issue Dec 28, 2024 · 2 comments

Comments

@marcel-boer
Copy link

Hi there,

is it possible to set a auto ratio in the config file? So:

'hero' => new TS(
  widths: [1440, 1280, 992, 768, 576],
  aspectRatio: auto,
),

Thanks!

@marcel-boer
Copy link
Author

@acalvino4 I guess you just remove the whole aspectRatio line and then its set to auto right?

@acalvino4
Copy link
Owner

I think so, but tbh I don't know off the top of my head; I haven't been developing with Craft for over a year now. If that works could you post what you found out on this thread?

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