From 3726ce24bb68376e484a4cc2f29e8e5c28b0a0bb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 3 Oct 2012 09:43:14 -0700 Subject: [PATCH] finish off scoping of grid sizing to table elements --- docs/assets/css/bootstrap.css | 6 ++++-- less/tables.less | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 2155b91cd8..12cdf6187e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2017,8 +2017,10 @@ table { background-color: #f5f5f5; } -table [class*=span], -.row-fluid table [class*=span] { +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { display: table-cell; float: none; margin-left: 0; diff --git a/less/tables.less b/less/tables.less index ca2c287c7d..3f2c7f783b 100644 --- a/less/tables.less +++ b/less/tables.less @@ -172,8 +172,10 @@ table { // ----------------- // Reset default grid behavior -table [class*=span], -.row-fluid table [class*=span] { +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { display: table-cell; float: none; // undo default grid column styles margin-left: 0; // undo default grid column styles