vertical-rhythm-reset icon indicating copy to clipboard operation
vertical-rhythm-reset copied to clipboard

Flexible sizing

Open dlewand691 opened this issue 4 years ago • 1 comments

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

dlewand691 avatar Jul 31 '20 21:07 dlewand691

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!

jhildenbiddle avatar Aug 08 '20 22:08 jhildenbiddle