L
L
Lord_Dantes2019-01-30 13:07:45
css
Lord_Dantes, 2019-01-30 13:07:45

Why does the "fancy-box" library take the height of the entire site?

Connected the library.
The scripts all work. All right.
I click on the picture, and a huge modal pops up to the entire height of the site at the very top of the controls and somewhere in the middle the picture that should be displayed.
Faced the problem for the first time.
Perhaps CSS is recycled?
5c51776a93871678394766.png5c517770d1f46050134021.png
How can I fix this to 100% screen height..
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lord_Dantes, 2019-01-30
@Lord_Dantes

If anyone will be useful. Found a "bug" if I may say so.
There was a property in the css-styles transform: translate3d(0, 0, 0);so that the site would not flicker from various kinds of animation. And he was with all the elements. It turns out that it somehow interrupts the property transformof the library itself. That's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question