Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome on Android resizes font

Apparently once paragraph of text reaches a certain length, Google Chrome on Android decides to resize the text and make it larger (causing all kinds of fun). Now I have a website where about half of the p-tags follow the size I've set and the other half change as they please - apparently depending on the length of the paragraph.

How on earth do I fix this?

like image 814
Sprax Avatar asked Jul 02 '12 07:07

Sprax


People also ask

Why did my font size suddenly changed on Google?

Font size affects the overall size of a page's font while the zoom function affects how far away or close the browser zooms in on each page, which can give the appearance of small or large font. Access Chrome's font and zoom options to reset each field to their default settings.


1 Answers

Add max-height: 999999px; to the element you want to prevent font boosting on, or its parent.

like image 68
moeffju Avatar answered Sep 16 '22 11:09

moeffju