V
V
Vlad Bazarov2015-07-30 09:18:24
Adaptive design
Vlad Bazarov, 2015-07-30 09:18:24

When flipping the screen of a mobile device, the font size changes, how to fix it?

With two flips of the screen of the mobile device (to the horizontal position and back), the font size on this site (loveyou.ua) changes. For clarity, go to the useful information or contacts section and turn it over.
I would be glad if someone suggested a solution, since the problem itself is unusual.
_jupDR0aEII.jpg4eWwzSVlz-Q.jpg
UPD 1
Maybe only on iOS?
UPD 2
I confirm - the problem is only on apple phones.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kn1ght_t, 2015-07-30
@vlad1337

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

D
Dmitry Kovalsky, 2015-07-30
@dmitryKovalskiy

I don’t think that without markup, styles and scripts that process screen rotations, it will be possible to identify the problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question