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

Set mininmum fontSize for component #9

Open
escapingSamsara opened this issue Oct 3, 2023 · 2 comments
Open

Set mininmum fontSize for component #9

escapingSamsara opened this issue Oct 3, 2023 · 2 comments

Comments

@escapingSamsara
Copy link

I know this is a super old project but today i was testing your component and found out it serves a project of mine pretty well. The only issue i have is that i need to set up a minimum fontSize for the components' content. Is there a way to implement this or a way on how to set something like this up ?

@hronro
Copy link
Owner

hronro commented Dec 19, 2023

It is possible, but the browser's built-in line wrapping functionality may not work as expected. This is because we are using transform: scale() to scale the font instead of changing the actual font size.

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

3 participants
@hronro @escapingSamsara and others