P
P
phmphx2015-04-27 15:27:59
JavaScript
phmphx, 2015-04-27 15:27:59

Why does the content shift when opening a modal window?

when opening a modal window on the site, the main content of the site is shifted to the left by 23-35px (except for the fixed header). With what it can be connected and what methods of the decision?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
robotcigan, 2015-04-27
@robotcigan

Write in css
.modal-open{overflow-y: scroll;}
or
.modal-open{overflow-y: visible;}

N
Nikolai Shabalin, 2015-04-27
@nikolayshabalin

You lose scroll.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question