A
A
Alexander Timofeev2015-11-10 14:09:28
css
Alexander Timofeev, 2015-11-10 14:09:28

What can cause all content to slide out when opening a modal window?

I'm using a modal window from the alpha version of bootstrap-4. Everything moves out in the background as shown in the picture.
165da-clip-169kb.png?nocache=1
and this happens in chrome and ff, but in the latter and edge everything is fine. Plus in chrome it works fine when i browse through device mode.
7b91c-clip-229kb.png
Link to the page - on the third screen, when you click on the first tile "Do you have a toothache?"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Zachinalov, 2015-11-10
@aldtimofeev

because when the modal is open, the padding-right style is assigned to the body tag. This is either a modal.js bug from bootstrap, or you added something yourself

T
tigra, 2015-11-10
@tigroid3

And wrap everything in the body tag in .wrapper. Helps avoid many problems in the future

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question