I can't seem to get the column heading aligned perfectly with the rows below it. The headings always appear slightly to the right. I've already tried adjusting the margin and removing overflow auto, but nothing seems to work. Any suggestions on how to align the column heading with the rows below it would be greatly appreciated. Thank you.
You can find the full code at this link.
The alignment of these columns is off:
<div class="row" style="background-color: yellow;">
<div class="col-4"><span ng-click="sortBy('ID')">ID <i id="ID" class="fa fa-caret-down"></i></span></div>
<div class="col-4"><span ng-click="sortBy('Name')">Bird Name <i id="Name" class="fa fa-caret-down"></i></span></div>
<div class="col-4"><span ng-click="sortBy('Type')">Type of Bird <i id="Type" class="fa fa-caret-down"></i></i></span></div>
</div>
However, these columns are displaying correctly:
<div id="data-row">
<div class="row" ng-repeat="birds in list | filter:filterText | orderBy:sortField:reverseOrder" style="width: 100%;">
<div class="col-4">{{birds.ID}}</div>
<div class="col-4">{{birds.Name}}</div>
<div class="col-4">{{birds.Type}}</div>
</div>
</div>