Skip to content

Commit

Permalink
fix(component): tables
Browse files Browse the repository at this point in the history
reflow feature support
  • Loading branch information
ygatesoupe committed Oct 21, 2016
1 parent 98854f8 commit 86b4b20
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions scss/_orange-css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,47 @@ a:focus {
}
}
}

&.table-reflow {
thead,
tbody, {
> tr {
border: 0;
}

> tr > td {
line-height: 1.25rem;
}

> tr > th:first-child {
border-bottom: 2px solid $table-border-color;
}

> tr > th,
> tr > td {
border-bottom: 1px solid $table-border-color;
}

> tr > td:last-child {
border-right: 0;
}
}

thead > tr {
border: 0;

> th:not(:first-child) {
padding-left: .625rem;
border-bottom: 1px solid $table-border-color;
}
}

tbody {
> tr > th:first-child {
padding-left: 0;
}
}
}
}

@include table-row-variant-border(success, $state-success-border);
Expand Down

0 comments on commit 86b4b20

Please sign in to comment.