Skip to content

Commit

Permalink
(less) account for last child bottom border; use 0 instead of none
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Sep 5, 2013
1 parent 76bfa29 commit a189806
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions panels.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,23 @@
border-top: 1px solid @table-border-color;
}
> .table-bordered {
border: none;
border: 0;
> thead,
> tbody,
> tfoot {
> tr {
> th:first-child,
> td:first-child {
border-left: none;
border-left: 0;
}
> th:last-child,
> td:last-child {
border-right: none;
border-right: 0;
}

&:last-child > th,
&:last-child > td {
border-bottom: 0;
}
}
}
Expand Down

0 comments on commit a189806

Please sign in to comment.