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

Flexible sizing #19

Open
dlewand691 opened this issue Jul 31, 2020 · 1 comment
Open

Flexible sizing #19

dlewand691 opened this issue Jul 31, 2020 · 1 comment

Comments

@dlewand691
Copy link

Wondering what your thoughts are on adding flexible sizing instead of strict breaks. Here's some examples:

https://codepen.io/MadeByMike/pen/bEEGvv?editors%3D0100
https://github.com/twbs/rfs
https://codepen.io/MadeByMike/pen/vNrvdZ
https://www.sassmeister.com/gist/7f22e44ace49b5124eec

@jhildenbiddle
Copy link
Owner

Hi @dlewand691,

I'd love to add it. I considered it when developing the project, but Safari (and other WebKit-based browsers) didn't support any method of calculating new text sizes without a hard break point. As a result, I opted for text sizing via hard break points because it worked everywhere.

I haven't checked Safari's compatibility with dynamic text sizing since then. If the necessary support has been added, it would be a nice enhancement. PRs are also welcome if you're up for it!

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

No branches or pull requests

2 participants