Created by: trumbitta
table th, table td is giving me unsolicited headaches and less love than I deserve when it comes to customize the alignment of some cells in my tables via small utility classes like
<table class="table">
...
<td>hey an item</td>
<td class="text-center"><img src="myEditIcon" /></td>
...
</table>
...
text-center {
text-align: center;
}
...
So, I moved the default text-align for table cells outside the .table
selector.
This way, I have both the default alignment and the power to easily override it only where I need to.