I've been making a website utilizing Bootstrap 3.2.0 I've encountered an issue with using tables inside of panels and I'm not sure of the solution.
Take this code for example:
<div class="container-fluid">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
Title
</div>
<table class="table">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<td>2</td>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<td>3</td>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
I've made a sample fiddle to demonstrate the behavior in question.
If you notice, on the right side of the table, there is a slight gap between the row borders and the panel border. This gap disappears at certain resolution/zoom/size combos but is visible at others. The problem is that the panel's width is usually something like 123.45px while the table is only 123px. Since they are both set to 100% width I have no idea how to get rid of that gap.