Box-sizing: content-box breaks layout
7iomka opened this issue · 1 comments
7iomka commented
In my site i have css rule in reset css:
*, *:before, *:after { box-sizing: inherit }
and
html {box-sizing: border-box;}
I use your plugin to instead of native page scrollbar;
Plugin make this:
on .vb-content put css
display: block;
overflow: hidden scroll;
height: 100%;
width: 100%;
box-sizing: content-box;
padding-right: 20px;
and all layout, like a .container-fluid from bootstrap breaks it layout :(
DominikSerafin commented
@7iomka you can just redeclare box-sizing: border-box
again on your site-content
element.