Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

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

  • Ryuniri_44052
  • Ryuniri_44052's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 1 week ago #118184 by Ryuniri_44052
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?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 week ago #118198 by tpartner
To address all browsers that respect the "text-size-adjust" property, use this:

Code:
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.
The topic has been locked.
  • Ryuniri_44052
  • Ryuniri_44052's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 11 months ago #118865 by Ryuniri_44052
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;">
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose