From ac244040d1054961f1e9a7a425a459ae0f30700c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 5 Sep 2013 15:54:18 -0400 Subject: [PATCH] Don't double border a bordered table within a panel --- less/panels.less | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/less/panels.less b/less/panels.less index 86aef9242110..602b1cd8ee64 100644 --- a/less/panels.less +++ b/less/panels.less @@ -62,6 +62,23 @@ > .panel-body + .table { border-top: 1px solid @table-border-color; } + > .table-bordered { + border: none; + > thead, + > tbody, + > tfoot { + > tr { + > th:first-child, + > td:first-child { + border-left: none; + } + > th:last-child, + > td:last-child { + border-right: none; + } + } + } + } }