STRML / textFit

A jQuery-free component that quickly fits single and multi-line text to the width (and optionally height) of its container.
https://textfit.strml.net
637 stars 123 forks source link

A lot of the examples seem to break the bounding div #25

Open lacymorrow opened 7 years ago

lacymorrow commented 7 years ago

maybe just me...

chrome OSX newest of now

alpha-and-omega commented 6 years ago

Yes, I have seen it in other project. This bug is related to Safari webkit engine. And all div>span fitters have this bug. It can be fixed using two subsequent span's. div>span>span