I'd like to know a way to align the table head with the table content
The actual result is the following:
As you can see, those are not aligned. I need columns to be aligned without having a fixed width.
Title column should take all the remaining width.
Here is my actual code:
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr class="d-flex">
<th scope="col" class="col-auto"><i class="fas fa-folder fa-lg"></i></th>
<th scope="col" class="col">Title</th>
<th scope="col" class="col-auto">Author</th>
<th scope="col" class="col-auto">NB</th>
<th scope="col" class="col-auto">Last activity</th>
</tr>
</thead>
<tbody>
<tr class="d-flex">
<td scope="row"><a href=""><i class="fas fa-folder fa-lg"></i></a></td>
<td class="col"><a href="">flap flap flap</a></td>
<td><a href="">Dushy</a></td>
<td>14</td>
<td>03:20:32</td>
</tr>
</tbody>
</table>
</div>
Thanks for your help!