aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-16 09:41:58 -0700
committerMark Otto <[email protected]>2011-09-16 09:41:58 -0700
commitb188c0da8b51cd18d6fa3fa958e823a318ba5f10 (patch)
treed4f657b0b07ed108ec94099a9d1cbd69b700284a /lib
parentdcf6a051e71f73c6f53f36f4a3a9420535f70e42 (diff)
downloadbootstrap-b188c0da8b51cd18d6fa3fa958e823a318ba5f10.tar.xz
bootstrap-b188c0da8b51cd18d6fa3fa958e823a318ba5f10.zip
updated table styles a bit and floated the fluid columns to clear the row dropping problem we were having
Diffstat (limited to 'lib')
-rw-r--r--lib/scaffolding.less6
-rw-r--r--lib/tables.less3
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/scaffolding.less b/lib/scaffolding.less
index e4afa5aeb..13cc4f2b1 100644
--- a/lib/scaffolding.less
+++ b/lib/scaffolding.less
@@ -33,17 +33,17 @@ body {
}
// TODO in v2: rename this and .popover .content to be more specific
> .content {
+ float: left;
min-width: 700px;
max-width: 1180px;
- margin-left: 240px;
- .clearfix();
+ margin-left: 20px;
}
}
+// Toggling content
.hide {
display: none;
}
-
.show {
display: block;
}
diff --git a/lib/tables.less b/lib/tables.less
index e00250f0d..988483f0e 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -11,7 +11,8 @@ table {
width: 100%;
margin-bottom: @baseline;
padding: 0;
- border-collapse: separate;
+ border-collapse: separate; // Done so we can round those corners!
+ *border-collapse: collapse; /* IE7, collapse table to remove spacing */
font-size: @basefont;
border: 1px solid #ddd;
.border-radius(4px);