From: Mark Otto Date: Wed, 3 Oct 2012 16:43:14 +0000 (-0700) Subject: finish off scoping of grid sizing to table elements X-Git-Tag: v2.2.0^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3726ce24bb68376e484a4cc2f29e8e5c28b0a0bb;p=thirdparty%2Fbootstrap.git finish off scoping of grid sizing to table elements --- 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