Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-03-12 05:18:18 +0400
committerMark Otto <markotto@twitter.com>2012-03-12 05:18:18 +0400
commit4109c62cf745250e05267c1c5498865b5b548dcf (patch)
tree373ff967d02e7fc1189164d99fa07ea16b377e10 /less
parent7154e378b241f753491c1aaf4aba310b7f0f179d (diff)
fix table border bug with double borders on theads and use of colgroup
Diffstat (limited to 'less')
-rw-r--r--less/tables.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/tables.less b/less/tables.less
index 15318e8f5a..22f9a29b90 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -37,8 +37,10 @@ table {
vertical-align: bottom;
}
// Remove top border from thead by default
- thead:first-child tr th,
- thead:first-child tr td {
+ colgroup + thead tr:first-child th,
+ colgroup + thead tr:first-child td,
+ thead:first-child tr:first-child th,
+ thead:first-child tr:first-child td {
border-top: 0;
}
// Account for multiple tbody instances
@@ -77,8 +79,6 @@ table {
thead:first-child tr:first-child th,
tbody:first-child tr:first-child th,
tbody:first-child tr:first-child td {
- border-top: 0;
- border-bottom: 1px solid @tableBorder;
}
// For first th or td in the first row in the first thead or tbody
thead:first-child tr:first-child th:first-child,