I wanted to make my table using small padding so inspired by @crazymatt answer: I added a class to the table and applied the style in my css files like this:
.small-table,
.small-table tbody, .small-table tr , .small-table td {
padding: 0.1rem;
}
and your table will
<table class="small-table table anyotherclass">