2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

account for last child bottom border; use 0 instead of none

This commit is contained in:
Mark Otto
2013-09-05 15:10:56 -07:00
parent ac244040d1
commit b51579241f
3 changed files with 40 additions and 4 deletions
+8 -3
View File
@@ -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;
}
}
}