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
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-02-22 11:00:02 +0400
committerMark Otto <markotto@twitter.com>2012-02-22 11:00:02 +0400
commit9b524a16e9cb5d8c9e0a6c4c7b83a3a881e415ee (patch)
tree39a3022e521a8adcd14daaadba8280a598bf814b /less/tables.less
parent917df6703cf316f6609d3ef3b9b35fb250c30472 (diff)
clear up table styles and docs to fix rowspan and colspan issues for bordered tables, per #1918
Diffstat (limited to 'less/tables.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 1342de2ff6..d8bce582f0 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -64,13 +64,12 @@ table {
.table-bordered {
border: 1px solid #ddd;
+ border-left: 0;
border-collapse: separate; // Done so we can round those corners!
*border-collapse: collapsed; // IE7 can't round corners anyway
.border-radius(4px);
- th + th,
- td + td,
- th + td,
- td + th {
+ th,
+ td {
border-left: 1px solid #ddd;
}
// Prevent a double border
@@ -78,6 +77,7 @@ table {
tbody:first-child tr:first-child th,
tbody:first-child tr:first-child td {
border-top: 0;
+ border-bottom: 1px solid #ddd;
}
// For first th or td in the first row in the first thead or tbody
thead:first-child tr:first-child th:first-child,