I need help creating a sidebar in Bootstrap 4 with a floating arrow button to collapse it, similar to this example.
Currently, I'm using a `container-fluid` and dividing the row into a 2-8-2 layout for left sidebar, main content, and right sidebar. I'm uncertain if I should adjust the row or place the floating button between columns.
I haven't found a solution online that integrates a floating button within bootstrap's grid system, so any guidance would be appreciated.
See the image below for an idea where the floating button should go:
https://i.sstatic.net/Y1omg.png
Edit:
Per @Imran Rafiq Rather's request, here's the HTML code, divided into three sections within a single row. The content itself can be simplified if necessary.
<!--main row (second row) in the grid layout-->
<div class="container-fluid ml-n3">
<div class="row" name="main-row">
<!--sidebar-left-->
<div class="col-2 position-fixed" style="height: 100vh;" name="sidebar-left">
...
</div>
<!--main-content-->
<div class="col-8 offset-2 container-fluid" name="main-content">
...
</div>
<!--sidebar-right-->
<div class="col-2 position-fixed offset-10 overflow-auto" style="height: 89vh;" name="sidebar-right">
...
</div>
</div>
</div>
</div>