Chrome浏览器在Android上调整大小的字体 [英] Chrome on android resizes font

查看:841
本文介绍了Chrome浏览器在Android上调整大小的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显然,曾经一段文字达到一定长度,镀铬android上决定调整文本,并使其更大(引起各种有趣)。现在我有一个网站,大约有一半的P-标签按照我设置的大小,而另一半改变,因为他们请 - 显然取决于段落的长度。

Apparently once paragraph of text reaches a certain length, 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?

推荐答案

添加最大高度:999999px; 来要prevent字体提高的元素,或者其母公司。

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

这篇关于Chrome浏览器在Android上调整大小的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆