]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Separator for table direct children (#34861)
authorGaël Poupard <ffoodd@users.noreply.github.com>
Thu, 9 Sep 2021 06:50:55 +0000 (08:50 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 06:50:55 +0000 (09:50 +0300)
* 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

scss/_tables.scss

index d474ad5663e8f99a7a9d13ab0e909ac95b47e2c1..e10e4c4e4cb375b6eaa082f861b1cadea1bbcc5c 100644 (file)
@@ -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;
   }
 }
 
   > :not(caption) > * > * {
     border-bottom-width: 0;
   }
+
+  > :not(:first-child) {
+    border-top-width: 0;
+  }
 }
 
 // Zebra-striping