aboutsummaryrefslogtreecommitdiff
path: root/less/tables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-06-25 14:37:35 -0700
committerMark Otto <[email protected]>2012-06-25 14:37:35 -0700
commitcd466f1d0b51c5165f7b615c671ee94d53f48eeb (patch)
tree73fbbe685d21ccbb3c2c6b2639bcc8134ed7a529 /less/tables.less
parent27845e4492741a973231ff1be6c493e001a28555 (diff)
downloadbootstrap-cd466f1d0b51c5165f7b615c671ee94d53f48eeb.tar.xz
bootstrap-cd466f1d0b51c5165f7b615c671ee94d53f48eeb.zip
add tests for table grid sizing, solve bugs in fluid table grid sizing
Diffstat (limited to 'less/tables.less')
-rw-r--r--less/tables.less10
1 files changed, 9 insertions, 1 deletions
diff --git a/less/tables.less b/less/tables.less
index 8bd563a06..ecd92233d 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -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); }