Permalink
Browse files

fix(expandable-table): fix border color on active

  • Loading branch information...
lara-aigmueller committed Jun 13, 2017
1 parent da9ecf7 commit e26fd2ea74e94095623bc5cae3fc7fdf8326a1c2
Showing with 15 additions and 0 deletions.
  1. +15 −0 src/table-expandable/table-expandable.scss
@@ -24,6 +24,14 @@ $expandable-table-border-color: $turquoise-600;
display: table-row;
}
.table--expandable tr:first-child td {
border-top: 2px solid transparent;
}
.table--expandable tr:last-child td {
border-bottom: 2px solid transparent;
}
.table--expandable .is-active tr:first-child td {
border-top: 2px solid $expandable-table-border-color;
}
@@ -32,6 +40,13 @@ $expandable-table-border-color: $turquoise-600;
border-bottom: 2px solid $expandable-table-border-color;
}
.table--expandable .expandable.is-active + .expandable.is-active {
& tr:first-child td {
border-top: 2px solid transparent;
}
}
@mixin expandable-table-theme($table-background-color, $table-border-color) {
.table--expandable .is-active tr:first-child {

0 comments on commit e26fd2e

Please sign in to comment.