From: Gaƫl Poupard Date: Thu, 9 Sep 2021 06:50:55 +0000 (+0200) Subject: Separator for table direct children (#34861) X-Git-Tag: v5.1.2~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a925d6fd800d89b072d9f035a069d84e735941b;p=thirdparty%2Fbootstrap.git Separator for table direct children (#34861) * fix(tables): separator for table direct children * fix(tables): drop universal selectors * fix(tables): trying the lobotomized owl selector * fix(tables): get closer to v4 * fix(tables): ensure borderless are borderless --- diff --git a/scss/_tables.scss b/scss/_tables.scss index d474ad5663..e10e4c4e4c 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -39,8 +39,8 @@ } // Highlight border color between thead, tbody and tfoot. - > :not(:last-child) > :last-child > * { - border-bottom-color: $table-group-separator-color; + > :not(:first-child) { + border-top: (2 * $table-border-width) solid $table-group-separator-color; } } @@ -91,6 +91,10 @@ > :not(caption) > * > * { border-bottom-width: 0; } + + > :not(:first-child) { + border-top-width: 0; + } } // Zebra-striping