From: Louis-Maxime Piton Date: Thu, 18 Jul 2024 13:42:50 +0000 (+0200) Subject: Fixed when `.table-*` was used on td/th directly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51e1a29a51f4504fc47d77a2b79e0ca9163c1894;p=thirdparty%2Fbootstrap.git Fixed when `.table-*` was used on td/th directly --- diff --git a/scss/mixins/_table-variants.scss b/scss/mixins/_table-variants.scss index 2c5791e535..5ac842a3d4 100644 --- a/scss/mixins/_table-variants.scss +++ b/scss/mixins/_table-variants.scss @@ -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));