Can you help me figure out how to align this sidebar properly? I tried using the d-flex property but it doesn't seem to be working for me. The sidebar should be on the left side and the two containers should be centered.
For a clearer explanation, please check the following links:
https://i.sstatic.net/KOQ7T.jpg (desired outcome)
Here is the demo:-
https://jsfiddle.net/atwj9rhp/
.item1, .item2{
padding: 1.5%;
background-color: #F4F4F4;
...
<header class="sidebar">
<div class="d-flex flex-column">
<ul class="my-4">
<li><a href="#">All</a></li>
<li><a href="#">To Pay</a></li>
<li><a href="#">To Ship</a></li>
<li><a href="#">To Receive</a></li>
<li><a href="#">Completed</a></li>
<li><a href="#">Cancelled</a></li>
</ul>
</div>
</header>
...