diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 8ebb10d4b1..b0dcb4e0be 100644
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 2fd7cc135c..6fa86fd952 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1174,8 +1174,10 @@ table {
.table thead th {
vertical-align: bottom;
}
-.table thead:first-child tr th,
-.table thead:first-child tr td {
+.table colgroup + thead tr:first-child th,
+.table colgroup + thead tr:first-child td,
+.table thead:first-child tr:first-child th,
+.table thead:first-child tr:first-child td {
border-top: 0;
}
.table tbody + tbody {
@@ -1198,12 +1200,6 @@ table {
.table-bordered td {
border-left: 1px solid #dddddd;
}
-.table-bordered thead:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child th,
-.table-bordered tbody:first-child tr:first-child td {
- border-top: 0;
- border-bottom: 1px solid #dddddd;
-}
.table-bordered thead:first-child tr:first-child th:first-child,
.table-bordered tbody:first-child tr:first-child td:first-child {
-webkit-border-radius: 4px 0 0 0;
diff --git a/docs/base-css.html b/docs/base-css.html
index 6f1664a829..f8fa8b6aee 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -435,6 +435,10 @@ For example, <code>section</code> should be wrapped as inline.
+
+
+
+
Tag |
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache
index 4173240996..ae45e92e61 100644
--- a/docs/templates/pages/base-css.mustache
+++ b/docs/templates/pages/base-css.mustache
@@ -359,6 +359,10 @@
+
+
+
+
{{_i}}Tag{{/i}} |
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,