Reputation: 144
in my HTML page, which is height: 100vh
, and there is some collapse accordion in it when I try to expand those accordions, the page height get extends and scroll-bar get to appear, which slightly pushes the page width which I want to avoid.
Upvotes: 0
Views: 62
Reputation: 115
you could use this ways:
List item set the overflow parameters in css
overflow-y:auto;
overflow-x:hidden;
use absolute parameter in display for expanding div
.collapsed.in > div{
position:absolute;
}
Upvotes: 3