Skip to content

Commit

Permalink
Separator for table direct children (#34861)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ffoodd committed Sep 9, 2021
1 parent 8db02e2 commit 2a925d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scss/_tables.scss
Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -91,6 +91,10 @@
> :not(caption) > * > * {
border-bottom-width: 0;
}

> :not(:first-child) {
border-top-width: 0;
}
}

// Zebra-striping
Expand Down

0 comments on commit 2a925d6

Please sign in to comment.