The Old man machine modified the default font size of the phone system to handle the situation.

Source: Internet
Author: User

Today found that the REM has an ill-conditioned condition.

If a user changes their phone's default font size to oversized, the interface will be distorted.

Because we developed the minimum fit width of 320px.

But after changing to a super-large font, REM is also considered to be 320px wide,

In fact, I changed it, only 270px wide, so some floating layout will fall, or can not see,

It was normal to try it with an Apple phone.

Later, I found that after changing to a large font, the Web page in the UC browser, the system comes with the browser and the browser is also normal (Android),

is not normal in our app,

I came to the conclusion that a certain parameter of WebView was not set. Should be set to ignore the system font size, just use the default size, so that the page will not be changed.

The Old man machine modified the default font size of the phone system to handle the situation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.