I'm trying to style a table and the border isn't showing up. This has never happened to me before, so I'm not sure what to do.
Here's my table:
<table class="table">
<thead>
<tr>
<th>Dessert (100g serving)</th>
<th>Calories</th>
</tr>
</thead>
<tbody>
<tr>
<td>Dessert (100g serving)</td>
<td>Calories</td>
</tr>
</tbody>
</table>
And here's my less:
@dark-text: rgba(0,0,0,0.87);
@dark-text-secondary: rgba(0,0,0,0.54);
@dark-text-disabled: rgba(0,0,0,0.26);
.table {
z-index: 10;
thead {
tr {
border-bottom: 3px solid @dark-text-disabled;
z-index: 10;
th {
color: @dark-text-secondary;
z-index: 10;
}
}
}
tbody {
tr {
border-bottom: 3px solid @dark-text-disabled;
z-index: 10;
td {
z-index: 10;
}
}
}
}