aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-23 01:28:04 -0700
committerMark Otto <[email protected]>2012-03-23 01:28:04 -0700
commitde7aee246591f0be9ee58079175b42af7f5a6947 (patch)
tree9dbdb5c96690e5e3975578c62f9a2b6675fd7399 /less
parent622b8fa3f0d54e1c356fbe76d7bdc407919ff840 (diff)
downloadbootstrap-de7aee246591f0be9ee58079175b42af7f5a6947.tar.xz
bootstrap-de7aee246591f0be9ee58079175b42af7f5a6947.zip
fix broken tables with double borders and such, add css tests page to start with table edge cases
Diffstat (limited to 'less')
-rw-r--r--less/tables.less6
1 files changed, 6 insertions, 0 deletions
diff --git a/less/tables.less b/less/tables.less
index 5ce876f4a..cdc794edc 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -78,6 +78,12 @@ table {
border-left: 1px solid @tableBorder;
}
// Prevent a double border
+ caption + thead tr:first-child th,
+ caption + tbody tr:first-child th,
+ caption + tbody tr:first-child td,
+ colgroup + thead tr:first-child th,
+ colgroup + tbody tr:first-child th,
+ colgroup + tbody tr:first-child td,
thead:first-child tr:first-child th,
tbody:first-child tr:first-child th,
tbody:first-child tr:first-child td {