The website does not display correctly in the borders of the screen on the ipad

now what day I can not understand. Site is up at a fixed width of 1024. but on the ipad if you turn the screen the website does not change the width of the screen and becomes enlarged. and this garbage takes place only if the height of the site is less than the height of the screen. if the height is larger, the website correctly changes the width of the screen. what's the problem? who can already faced. Google gave no results...
October 8th 19 at 02:05
2 answers
October 8th 19 at 02:07
Try add meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1">
already dabawalas. did not help - Asha85 commented on October 8th 19 at 02:10
October 8th 19 at 02:09
solved the problem. maybe someone will also be useful. everything was very simple. in the center of the screen is the div which actually was everything else. just added max-width: 1024px

Find more questions by tags iPadiOSHTML