0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

fixes #4824: scope table grid sizes to .table instead of table

This commit is contained in:
Mark Otto 2012-08-31 22:37:46 -07:00
parent beb0b64096
commit 0f85e8b7f8
2 changed files with 25 additions and 25 deletions

View File

@ -1947,145 +1947,145 @@ table [class*=span],
margin-left: 0; margin-left: 0;
} }
table .span1 { .table .span1 {
float: none; float: none;
width: 44px; width: 44px;
margin-left: 0; margin-left: 0;
} }
table .span2 { .table .span2 {
float: none; float: none;
width: 124px; width: 124px;
margin-left: 0; margin-left: 0;
} }
table .span3 { .table .span3 {
float: none; float: none;
width: 204px; width: 204px;
margin-left: 0; margin-left: 0;
} }
table .span4 { .table .span4 {
float: none; float: none;
width: 284px; width: 284px;
margin-left: 0; margin-left: 0;
} }
table .span5 { .table .span5 {
float: none; float: none;
width: 364px; width: 364px;
margin-left: 0; margin-left: 0;
} }
table .span6 { .table .span6 {
float: none; float: none;
width: 444px; width: 444px;
margin-left: 0; margin-left: 0;
} }
table .span7 { .table .span7 {
float: none; float: none;
width: 524px; width: 524px;
margin-left: 0; margin-left: 0;
} }
table .span8 { .table .span8 {
float: none; float: none;
width: 604px; width: 604px;
margin-left: 0; margin-left: 0;
} }
table .span9 { .table .span9 {
float: none; float: none;
width: 684px; width: 684px;
margin-left: 0; margin-left: 0;
} }
table .span10 { .table .span10 {
float: none; float: none;
width: 764px; width: 764px;
margin-left: 0; margin-left: 0;
} }
table .span11 { .table .span11 {
float: none; float: none;
width: 844px; width: 844px;
margin-left: 0; margin-left: 0;
} }
table .span12 { .table .span12 {
float: none; float: none;
width: 924px; width: 924px;
margin-left: 0; margin-left: 0;
} }
table .span13 { .table .span13 {
float: none; float: none;
width: 1004px; width: 1004px;
margin-left: 0; margin-left: 0;
} }
table .span14 { .table .span14 {
float: none; float: none;
width: 1084px; width: 1084px;
margin-left: 0; margin-left: 0;
} }
table .span15 { .table .span15 {
float: none; float: none;
width: 1164px; width: 1164px;
margin-left: 0; margin-left: 0;
} }
table .span16 { .table .span16 {
float: none; float: none;
width: 1244px; width: 1244px;
margin-left: 0; margin-left: 0;
} }
table .span17 { .table .span17 {
float: none; float: none;
width: 1324px; width: 1324px;
margin-left: 0; margin-left: 0;
} }
table .span18 { .table .span18 {
float: none; float: none;
width: 1404px; width: 1404px;
margin-left: 0; margin-left: 0;
} }
table .span19 { .table .span19 {
float: none; float: none;
width: 1484px; width: 1484px;
margin-left: 0; margin-left: 0;
} }
table .span20 { .table .span20 {
float: none; float: none;
width: 1564px; width: 1564px;
margin-left: 0; margin-left: 0;
} }
table .span21 { .table .span21 {
float: none; float: none;
width: 1644px; width: 1644px;
margin-left: 0; margin-left: 0;
} }
table .span22 { .table .span22 {
float: none; float: none;
width: 1724px; width: 1724px;
margin-left: 0; margin-left: 0;
} }
table .span23 { .table .span23 {
float: none; float: none;
width: 1804px; width: 1804px;
margin-left: 0; margin-left: 0;
} }
table .span24 { .table .span24 {
float: none; float: none;
width: 1884px; width: 1884px;
margin-left: 0; margin-left: 0;

View File

@ -180,7 +180,7 @@ table [class*=span],
} }
// Change the column widths to account for td/th padding // Change the column widths to account for td/th padding
table { .table {
.span1 { .tableColumns(1); } .span1 { .tableColumns(1); }
.span2 { .tableColumns(2); } .span2 { .tableColumns(2); }
.span3 { .tableColumns(3); } .span3 { .tableColumns(3); }