Home > Net >  My site Font-Size does not display correctly on ios Safari
My site Font-Size does not display correctly on ios Safari

Time:05-26

the site is https://mizore.site

  1. on safari, the font-size is too big img
  2. on other img

It's only happend on ios safari, It display correctly on ipad safari, ios's other browsers.

I have no Mac, so I use inspect.dev to debug it, found the p font-size is 24px

inspect.dev debug img

Hope anyone can help me!

CodePudding user response:

I think you need this in the CSS

html {
-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */

}

  • Related