font-size scales for mobile devices - how can I adjust this?

More
4 years 6 months ago #118184 by boriginal
Hey,

I don't want the font-size to scale on mobile devices. I fixed it for apple phones by using this:
html { -webkit-text-size-adjust: none; }

But on my android the font-size is still scaling up. Do you know how I can stop this?

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
4 years 6 months ago #118198 by tpartner
To address all browsers that respect the "text-size-adjust" property, use this:

html { 
	-webkit-text-size-adjust: none; 
	-moz-text-size-adjust: none; 
	-ms-text-size-adjust: none; 
	text-size-adjust: none; 
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #118865 by boriginal
Thank you for your answer.

Android Chrome seems to ignore this webkit-text-size-adjust:none property.

But adding this tag into the head helps me:
<meta name="viewport" content="width=device-width; maximum-scale=1.0;">

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!