diff options
| author | Mark Otto <[email protected]> | 2013-09-08 08:04:11 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-09-08 08:04:11 -0700 |
| commit | 3f158175ce851403f63e5740d7578e803fbf5c05 (patch) | |
| tree | cc11429db054598d54f21adc766c01a616ad2f52 /less | |
| parent | d126d8c6f3ffde8c108bfdf2f554facc9ccc516b (diff) | |
| download | bootstrap-3f158175ce851403f63e5740d7578e803fbf5c05.tar.xz bootstrap-3f158175ce851403f63e5740d7578e803fbf5c05.zip | |
fixes #10521: Only remove bottom-border from last row of cells in tbody and tfoot within responsive tables
Diffstat (limited to 'less')
| -rw-r--r-- | less/tables.less | 8 |
1 files changed, 8 insertions, 0 deletions
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 { } } } + } } } |
