V
V
VAku1a12021-05-13 11:36:04
css
VAku1a1, 2021-05-13 11:36:04

How to fix unexpected bootstrap behavior on small screens?

Lyrica
I am developing a web application for our company. I don't have much experience, but I managed to get used to bootstrap. However, now the task of a good picture even on the smallest screen has arisen.
Essence of a question The
picture moves down on small screens. I suspect it's because of the jinja blocks, but it's ghostly. Who faced such a strange picture?
Expectation
609ce4ae0f66e758632699.png
Reality
609ce4b3e0ce8376254062.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valery Matvienko, 2021-05-13
@Midas

In the real world, there are no smartphones with a screen width of less than 320px, which is what bootstrap is counting on.

S
Sergey delphinpro, 2021-05-13
@delphinpro

Everything is very simple: somewhere a fixed or minimum width for the element is set. And this element goes beyond the available viewport, stretching the rest.

T
ThunderCat, 2021-05-13
@ThunderCat

In fact, your expectation and reality coincide, since in the expectation the width of the visualization is 2 times larger than the given one. Well, respectively, in reality, about half of the expectation is visible. I don't understand what the question is...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question