Exploring ways to streamline my development process, I am looking to apply bootstrap's best practices. However, I have a query regarding showing and hiding columns.
Here is the layout setup I am working with:
<div class="row" id="contactGrid">
<div class="col-sm-2">Sidebar</div>
<div class="col-sm-10">Content</div>
</div>
While utilizing AngularJS to toggle the Sidebar column, I anticipate the Content column stretching across the entire width of the container. However, it remains at 'col-10'. Should I manually adjust the class/width to col-sm-12 when hiding the sidebar?
Your assistance is greatly appreciated - this should be an easy fix!