Home > Blockchain >  Font Size enlarge according to mobile font size setting
Font Size enlarge according to mobile font size setting

Time:10-21

I am using cordova based mobile app which will load my web application into mobile as mobile apps. I set the font size in my web apps using pixels and notice that the font size will change according to mobile font size setting...is there any way to prevent font size change according to mobile font size setting using CSS/JS?

CodePudding user response:

This should work. I did a quick search for the most up to date info and it does turn out that this is still not supported by all browsers. Possibly worth a try in your CSS though.

text-size-adjust: none;

CodePudding user response:

One basic answer would obviously be tex size adjust and aset it to null but in cordova you must read the documentation to control app behaviour

  • Related