aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaĆ«l Poupard <[email protected]>2021-09-09 08:50:55 +0200
committerGitHub <[email protected]>2021-09-09 09:50:55 +0300
commit2a925d6fd800d89b072d9f035a069d84e735941b (patch)
tree3b505a5933cf9dba7737b82a496f8d964e38e564
parent8db02e24d6a938388ff9e0e4e9aa241c0f699437 (diff)
downloadbootstrap-2a925d6fd800d89b072d9f035a069d84e735941b.tar.xz
bootstrap-2a925d6fd800d89b072d9f035a069d84e735941b.zip
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
-rw-r--r--scss/_tables.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss
index d474ad566..e10e4c4e4 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