From 4109c62cf745250e05267c1c5498865b5b548dcf Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 11 Mar 2012 18:18:18 -0700 Subject: fix table border bug with double borders on theads and use of colgroup --- docs/assets/css/bootstrap.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'docs/assets/css/bootstrap.css') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 2fd7cc135..6fa86fd95 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; -- cgit v1.2.3