diff options
| author | Mark Otto <[email protected]> | 2011-10-07 23:53:32 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-10-07 23:53:32 -0700 |
| commit | 9991f3faa1489d8edc517ffadb34e698930a9856 (patch) | |
| tree | 2aeb4dbae36c7b3dd73aa071c3d3b00fd417c945 /lib | |
| parent | d74dee5e0f74a09d850696b78840debf8334dcc2 (diff) | |
| download | bootstrap-9991f3faa1489d8edc517ffadb34e698930a9856.tar.xz bootstrap-9991f3faa1489d8edc517ffadb34e698930a9856.zip | |
resolve problem with nested tables having double borders
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/scaffolding.less | 2 | ||||
| -rw-r--r-- | lib/tables.less | 5 |
2 files changed, 5 insertions, 2 deletions
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); } |
