From 9991f3faa1489d8edc517ffadb34e698930a9856 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 7 Oct 2011 23:53:32 -0700 Subject: resolve problem with nested tables having double borders --- lib/scaffolding.less | 2 +- lib/tables.less | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/scaffolding.less b/lib/scaffolding.less index 4f8634710..b9646aed7 100644 --- a/lib/scaffolding.less +++ b/lib/scaffolding.less @@ -77,7 +77,7 @@ a { .row { .clearfix(); - margin-left: -1 * @gridGutterWidth; + margin-left: -@gridGutterWidth; } // Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7) diff --git a/lib/tables.less b/lib/tables.less index 949072001..2781681cc 100644 --- a/lib/tables.less +++ b/lib/tables.less @@ -34,9 +34,12 @@ table { td + td { border-left: 1px solid #ddd; } - tr + tr td { + tr td { border-top: 1px solid #ddd; } + tr:first-child td { + border-top: 0; + } tbody tr:first-child td:first-child { .border-radius(4px 0 0 0); } -- cgit v1.2.3