Simply put, I am in the process of building a website utilizing the SB Admin 2 template with some slight adjustments. One modification I am looking to make is ensuring that the left sidebar remains fixed as users scroll through the site. By applying .position-fixed to the main UL wrapper accomplishes this task but it also causes an issue where the #content-wrapper div, located immediately after the UL, ends up spanning the entire width of the page and overlapping the sidebar. I have experimented with adjusting the margin-left value for the #content-wrapper, but this solution proves to be too reliant on screen resolution. Additionally, I aim to have the content wrapper expand when the sidebar collapses, similar to how it functions in the original SB Admin 2 template. Any suggestions or advice would be greatly appreciated. The classes for the sidebar and content wrapper are currently defined as:
<ul class="navbar-nav bg-gradient-secondary sidebar sidebar-dark accordion position-fixed" id="accordionSidebar">
<div id="content-wrapper" class="d-flex flex-column">