]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Don't double border a bordered table within a panel 10484/head
authorKevin O'Connor <kevin.oconnor7@gmail.com>
Thu, 5 Sep 2013 19:54:18 +0000 (15:54 -0400)
committerKevin O'Connor <kevin.oconnor7@gmail.com>
Thu, 5 Sep 2013 19:54:18 +0000 (15:54 -0400)
less/panels.less

index 86aef92421104833448c6ef6a7196b34ad73de6a..602b1cd8ee64dea44bd40a4cca46738594dcd459 100644 (file)
   > .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;
+        }
+      }
+    }
+  }
 }