2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

fixes #10521: Only remove bottom-border from last row of cells in tbody and tfoot within responsive tables

This commit is contained in:
Mark Otto
2013-09-08 08:04:11 -07:00
parent d126d8c6f3
commit 3f158175ce
3 changed files with 9 additions and 3 deletions
+8
View File
@@ -227,6 +227,13 @@ table {
border-right: 0;
}
}
}
// Only nuke the last row's bottom-border in `tbody` and `tfoot` since
// chances are there will be only one `tr` in a `thead` and that would
// remove the border altogether.
> tbody,
> tfoot {
> tr:last-child {
> th,
> td {
@@ -234,6 +241,7 @@ table {
}
}
}
}
}
}