diff --git a/less/tables.less b/less/tables.less index 55d5aa0e18..4c4284cb1d 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; + } + } } }