1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 18:40:03 +00:00

finish off scoping of grid sizing to table elements

This commit is contained in:
Mark Otto 2012-10-03 09:43:14 -07:00
parent 11ee1633b4
commit 3726ce24bb
2 changed files with 8 additions and 4 deletions

View File

@ -2017,8 +2017,10 @@ table {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
table [class*=span], table td[class*="span"],
.row-fluid table [class*=span] { table th[class*="span"],
.row-fluid table td[class*="span"],
.row-fluid table th[class*="span"] {
display: table-cell; display: table-cell;
float: none; float: none;
margin-left: 0; margin-left: 0;

View File

@ -172,8 +172,10 @@ table {
// ----------------- // -----------------
// Reset default grid behavior // Reset default grid behavior
table [class*=span], table td[class*="span"],
.row-fluid table [class*=span] { table th[class*="span"],
.row-fluid table td[class*="span"],
.row-fluid table th[class*="span"] {
display: table-cell; display: table-cell;
float: none; // undo default grid column styles float: none; // undo default grid column styles
margin-left: 0; // undo default grid column styles margin-left: 0; // undo default grid column styles