]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
finish off scoping of grid sizing to table elements
authorMark Otto <markotto@twitter.com>
Wed, 3 Oct 2012 16:43:14 +0000 (09:43 -0700)
committerMark Otto <markotto@twitter.com>
Wed, 3 Oct 2012 16:43:14 +0000 (09:43 -0700)
docs/assets/css/bootstrap.css
less/tables.less

index 2155b91cd887f97541e333717bd3ae566fecd72d..12cdf6187ed70f56f43d46c9dc6b01f3906e8170 100644 (file)
@@ -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;
index ca2c287c7d71f41e004357b7e47dcf45566a0e39..3f2c7f783bd727c415b8dcb4e85a40ec538625ec 100644 (file)
@@ -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