I'm having an issue with implementing a DataTable within a Bootstrap container. When viewing the website at maximum width, the table container adds a scrollbar and cuts off the last column in the table.
Attempted solutions such as using a `container-fluid` div type only ended up decreasing the width of the table's container even more, adding to the problem.
Further inspection revealed that the inherited margin from the layout page's `container body-content` was causing this issue:
https://i.sstatic.net/Gu5Dj.png
A potential solution I am considering involves reducing the margin of the inherited `container body-content` on maximum width. However, I am unsure how to achieve this through CSS.
In the screenshot below, you can see that the Delete column is being cut off despite available white space to expand:
https://i.sstatic.net/vbriS.png
Question:
How can the width of a Bootstrap container be increased at maximum width?
Snippet of the table container markup:
<div class="container">
<div class="form-group">
<div class="table-responsive">
<div class="table-responsive" id="datatable-wrapper">
<table id="escalation" class="table table-striped table-bordered" cellspacing="0">
[…]
</table>
</div>
</div>
</div>
</div>
Snippet of the layout container:
<div class="container body-content" style="margin-top: 90px; margin-bottom: 70px;">
@* Main Content Render *@
<div id="content">
[…]
</div>
</div>