Bug - tr background color for table-active when used with table-striped
Created by: tnguyen14
In version 5.0.0, the table-active
class, when applied to a tr
, is superseded by a table-striped
class on the table.
As can be seen in the codepen below, the first row background color is still var(--bs-table-striped-bg)
, instead of var(--bs-table-active-bg)
The same is not happening when table-active
class is applied to a td
.
This issue is not present in version 4.6.0.
- Operating system and version (Windows, macOS, Android, iOS): Windows
- Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser): Edge
- A reduced test case or suggested fix using CodePen or JS Bin: https://codepen.io/tridnguyen/pen/WNpvdPy