1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 19:31:35 +02:00

Fixed when .table-* was used on td/th directly

This commit is contained in:
Louis-Maxime Piton
2024-07-18 15:42:50 +02:00
parent 4f3b59dbac
commit 51e1a29a51

View File

@@ -1,6 +1,7 @@
// scss-docs-start table-variant
@mixin table-variant($state, $background) {
.table-#{$state} {
.table-#{$state},
.table .table-#{$state} {
$color: color-contrast(opaque($body-bg, $background));
$hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
$striped-bg: mix($color, $background, percentage($table-striped-bg-factor));