As implemented, the window of news viewing in the VC?

The essence of the thing: when you're on the news page, then you have a browser scroll bar. So when you push on something, it opens a modal window with this news, and (!) The scroll bar is changing (scrolling becomes smaller). How it is implemented?
July 9th 19 at 13:55
1 answer
July 9th 19 at 13:57
Solution
body {overflow: hidden;}
#mymodal {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 overflow-y: auto;
}
damn, makes sense) thanks! - Lilla_Conn commented on July 9th 19 at 14:00
Still would like to know what to do with these Windows, if they are larger than the browser window - it is logical that the inner scroll, approx. Then how to implement closing on click? What to do with position: fixed; for "apples" on mobile with responsive design?

P. S. I Know that some issues do not belong to vk, it's just to continue the theme of modulok. - estefania_Reilly commented on July 9th 19 at 14:03

Find more questions by tags CSSHTML