2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

add tests for table grid sizing, solve bugs in fluid table grid sizing

This commit is contained in:
Mark Otto
2012-06-25 14:37:35 -07:00
parent 27845e4492
commit cd466f1d0b
3 changed files with 83 additions and 1 deletions
+9 -1
View File
@@ -147,7 +147,15 @@ table {
// TABLE CELL SIZING
// -----------------
// Change the columns
// Reset default grid behavior
table [class*=span],
.row-fluid table [class*=span] {
display: table-cell;
float: none; // undo default grid column styles
margin-left: 0; // undo default grid column styles
}
// Change the column widths to account for td/th padding
table {
.span1 { .tableColumns(1); }
.span2 { .tableColumns(2); }