[Bootstrap 4] .container-fluid added to table reduces table width
See original GitHub issueThe following <div>
is being automatically wrapped around any table that’s using DataTables. This seems like a bug. I can’t think of any functional or aesthetic reason why a .container-fluid
would be required to be wrapped around the table, reducing its width compared to other tables.
Is there a way to fix this or disable the behavior?
<div id="reports_wrapper" class="dataTables_wrapper container-fluid dt-bootstrap4 no-footer">
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
Bootstrap fixed width table columns in container fluid
I want that the column have a fixed width (ad example max and min equal to 7.5%). How could I get this in...
Read more >Overview - Bootstrap
The table below illustrates how each container's max-width compares to the original .container and .container-fluid across each breakpoint.
Read more >Bootstrap 4 set table column width on Codeply
div class="container-fluid"> · <table class="table"> · <thead> · <tr class="row"> · <th class="col-sm-3">3 columns wide</th> · <th class="col-sm-5">5 columns wide</ ...
Read more >Bootstrap 4 Containers - W3Schools
The .container class provides a responsive fixed width container · The .container-fluid class provides a full width container, spanning the entire width of...
Read more >Bootstrap Table column width - free examples & tutorial
Add .w-auto class to the table element to set an auto width to the table column. The width of the columns will automatically...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I hope so! I’m a bit in a tangle with releases at the moment and need to sort stuff out, but yes I should really try to prioritise this.
Sorry, yes. I’ve fallen behind with a few things. Its coming soon!