aamirafridi / jQuery.Marquee

jQuery plugin to scroll the text like the old traditional marquee
http://aamirafridi.com/jquery/jquery-marquee-plugin
MIT License
960 stars 280 forks source link

two marquees font size issue #172

Closed chrisallick closed 2 years ago

chrisallick commented 2 years ago

I have two marquee elements on the page, works perfectly on desktop.

on mobile safari and mobile chrome though the font-size of one of the marquee elements is not respecting the font-size css.

anyone seen this issue before?

exact copy, exact same css (with different position and classname), exact same javascsript invocation. driving me nuts.

chrisallick commented 2 years ago

OK WAIT.. it's even more insane.

the bug goes away if i don't duplicate the copy myself.

"THIS WILL WORK JUST FINE" "THIS WILL BREAK THIS WILL BREAK"

But I want the copy to fill the enter screen. the duplicate flag only duplicates it once?!

chrisallick commented 2 years ago

this fixed it... wild

/ Mobile browsers only / @media screen and (max-device-width: 800px){ body{ -webkit-text-size-adjust: none; } }