D
D
Dmitry Grabko2018-03-12 12:45:53
Layout
Dmitry Grabko, 2018-03-12 12:45:53

Why is adaptive falling apart?

Site: http://oknavtule.rf
When viewed from a phone or through the console in chrome, the site looks normal (version for smartphones)
When viewed from other browsers, such as firefox, the site seems to be close.
I tried to change the viewport, the minimum width of the body is set, but there is no sense in changing it.
What did I overlook?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Orkhan Hasanli, 2018-03-12
@azerphoenix

This is how the site is displayed in my fox (desktop) -
https://screenshots.firefox.com/KIFhk72DCiB6hlmT/x...
and the mobile version is really falling apart.
After reviewing the preview, I can say that you do not have media queries configured. In mob. version should not have horizontal scrolling.
htmlbook.ru/css/value/media

T
TheRevan, 2018-03-12
@TheRevan

set body to {overflow-x:hidden;}

E
Evgeny Zaharov, 2018-03-12
@drymind404

The layout does not claim to be adaptive at all. First of all, it shouldn't be necessary to make such a huge font for small screens. In addition, the site opens as if with a zoom. All this should be solved by the viewport, it exists, but the design of the site somewhere clearly prevents it from doing its job) It’s hard to immediately name all the problems, there are a lot of them. I don’t even know how to get out of this situation, it can only be if everything is rebuilt and the widths of various blocks are changed to rubber ones so that they change depending on the screen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question