Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

181
Visualizações
Font Size enlarge according to mobile font size setting

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?

about 4 years ago · Juan Pablo Isaza
3 Respostas
Responde à pergunta

0

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;
about 4 years ago · Juan Pablo Isaza Relatório

0

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

about 4 years ago · Juan Pablo Isaza Relatório

0

Sometimes this might happen because of the way pixel's are rendered on a mobile device.

Adding the below line makes the rendering consistent.

<meta name="viewport" content="width=device-width, initial-scale=1">

Reference:
https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda