On responsive website, sometimes, sidebar elements will be fixed content, like using off-canvas layout navigation.
This mobile style will be like this,
I think those inline styles for setting (like "border-box", "overflow" ) should be moved into style.css and toggle class by some trigger. Or reset proper initial styles.
I removed a style "position:relative" from javascript code anyway.
On responsive website, sometimes, sidebar elements will be fixed content, like using off-canvas layout navigation. This mobile style will be like this,
I think those inline styles for setting (like "border-box", "overflow" ) should be moved into style.css and toggle class by some trigger. Or reset proper initial styles.
I removed a style "position:relative" from javascript code anyway.