@mdo @XhmikosR Shouldn't it be rethought during the v5 development. This is really unexpected behavior and I have faced a lot of problems in my recent projects due to this implementation. Nowadays it's common to implement some details in the expandable row details section, and often we need to put some table there and this is really flustering that this table inherits styles like striped or fixed from its parent.
I don't agree that it would complicate the selectors too much, for example:
.table-striped {
& > tbody > tr:nth-of-type(#{$table-striped-order}) {
background-color: $table-accent-bg;
}
}
instead of
.table-striped {
tbody tr:nth-of-type(#{$table-striped-order}) {
background-color: $table-accent-bg;
}
}