aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--less/tables.less20
1 files changed, 12 insertions, 8 deletions
diff --git a/less/tables.less b/less/tables.less
index 55d5aa0e1..4c4284cb1 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -152,14 +152,18 @@ table {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
-.table > thead > tr,
-.table > tbody > tr,
-.table > tfoot > tr {
- > td.active,
- > th.active,
- &.active > td,
- &.active > th {
- background-color: @table-bg-active;
+.table {
+ > thead,
+ > tbody,
+ > tfoot {
+ > tr {
+ > td.active,
+ > th.active,
+ &.active > td,
+ &.active > th {
+ background-color: @table-bg-active;
+ }
+ }
}
}