diff options
author | Gaƫl Poupard <ffoodd@users.noreply.github.com> | 2021-09-09 09:50:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 09:50:55 +0300 |
commit | 2a925d6fd800d89b072d9f035a069d84e735941b (patch) | |
tree | 3b505a5933cf9dba7737b82a496f8d964e38e564 | |
parent | 8db02e24d6a938388ff9e0e4e9aa241c0f699437 (diff) |
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.scss | 8 |
1 files changed, 6 insertions, 2 deletions
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 |