File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,10 @@ $bv-enable-table-stacked: true !default;
8888$b-table-stacked-heading-width : 40% !default ;
8989$b-table-stacked-gap : 1rem !default ;
9090
91+ // Bootstrap v4.3 is missing the "active" variant for dark tables
92+ // Which translates to `bg-active`, but only for tables
93+ $table-dark-active-bg : $table-dark-hover-bg !default ;
94+
9195// --- Toasts ---
9296
9397// Toaster defaults
Original file line number Diff line number Diff line change 3434 caption-side : top !important ;
3535 }
3636 }
37+
38+ // Add in missing `bg-active` class for table tbody rows
39+ // Bootstrap v4.3 is missing this for dark tables
40+ // `bg-active` class cannot be applied to individual cells
41+ > tbody > .bg-active {
42+ & ,
43+ > th ,
44+ > td {
45+ background-color : $table-dark-active-bg ;
46+ }
47+ }
3748}
3849
3950// --- Table sticky header styling ---
You can’t perform that action at this time.
0 commit comments