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

Scaling to minSize instead of maxSize #104

Open
KyooMario opened this issue Apr 25, 2024 · 1 comment
Open

Scaling to minSize instead of maxSize #104

KyooMario opened this issue Apr 25, 2024 · 1 comment

Comments

@KyooMario
Copy link

Hello Rik,

Testing your fitty. Did a simple test like below and it seems fitty scales to the minSize. Instead I expect to scale to maxSize.
Just so you know I have enlarged the container big enough to convince me.
fitty('#elementId',{
minSize: 12,
maxSize: 14,
});

Please advise.
Kind regards,
Mario

@rikschennink
Copy link
Owner

Would appreciate a test case on stackblitz or codesandbox.

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