From 3f158175ce851403f63e5740d7578e803fbf5c05 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Sep 2013 08:04:11 -0700 Subject: fixes #10521: Only remove bottom-border from last row of cells in tbody and tfoot within responsive tables --- less/tables.less | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index 79a53c724..ace7e4ba1 100644 --- a/less/tables.less +++ b/less/tables.less @@ -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 { } } } + } } } -- cgit v1.2.3