FitText.js icon indicating copy to clipboard operation
FitText.js copied to clipboard

Does this work with display: flex ?

Open jcklpe opened this issue 7 years ago • 2 comments

I'm fixing to check and see if it does, but wanted to put up this question for the sake of documentation of future users.

jcklpe avatar May 07 '17 17:05 jcklpe

@thedonquixotic Yes, I am having no adverse affects.

CHEWX avatar Jul 18 '17 09:07 CHEWX

Yes, there are problems with display:flex. If the fittext-element in any div (and any parent-div has display:flex) the compressor doesn't work exactly. The scale-effect (smaller) ist very fast and then there ist no scale-effect to make it bigger.

My soluion was to give the fittext-element an extra parent div. And this div I only give them a width:100% and a max-width:auto

But this is not the solution for the future.

derSteffen avatar Oct 03 '20 08:10 derSteffen