Skip to content

Commit b188c0d

Browse files
committed
updated table styles a bit and floated the fluid columns to clear the row dropping problem we were having
1 parent dcf6a05 commit b188c0d

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

bootstrap-1.3.0.css

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* http://www.apache.org/licenses/LICENSE-2.0
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9-
* Date: Wed Sep 14 08:56:48 PDT 2011
9+
* Date: Thu Sep 15 09:29:41 PDT 2011
1010
*/
1111
/* Reset.less
1212
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -226,19 +226,10 @@ body {
226226
width: 220px;
227227
}
228228
.container-fluid > .content {
229+
float: left;
229230
min-width: 700px;
230231
max-width: 1180px;
231-
margin-left: 240px;
232-
zoom: 1;
233-
}
234-
.container-fluid > .content:before, .container-fluid > .content:after {
235-
display: table;
236-
content: "";
237-
zoom: 1;
238-
*display: inline;
239-
}
240-
.container-fluid > .content:after {
241-
clear: both;
232+
margin-left: 20px;
242233
}
243234
.hide {
244235
display: none;
@@ -1101,6 +1092,9 @@ table {
11011092
margin-bottom: 18px;
11021093
padding: 0;
11031094
border-collapse: separate;
1095+
*border-collapse: collapse;
1096+
/* IE7, collapse table to remove spacing */
1097+
11041098
font-size: 13px;
11051099
border: 1px solid #ddd;
11061100
-webkit-border-radius: 4px;

bootstrap-1.3.0.min.css

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/css/docs.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ section > .row {
2222
/* Jumbotrons
2323
-------------------------------------------------- */
2424
.jumbotron {
25+
min-width: 940px;
2526
padding-top: 40px;
2627
}
2728
.jumbotron .inner {
@@ -98,6 +99,7 @@ section > .row {
9899
-------------------------------------------------- */
99100
.footer {
100101
background-color: #eee;
102+
min-width: 940px;
101103
padding: 30px 0;
102104
text-shadow: 0 1px 0 #fff;
103105
border-top: 1px solid #e5e5e5;

examples/fluid.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,13 @@ <h5>Sidebar</h5>
7171
<div class="content">
7272
<!-- Main hero unit for a primary marketing message or call to action -->
7373
<div class="row">
74-
<div class="span4">a</div>
75-
<div class="span12">b</div>
76-
</div>
74+
<div class="span4">a</div>
75+
<div class="span12">b</div>
76+
</div>
77+
<div class="row">
78+
<div class="span4">a</div>
79+
<div class="span12">b</div>
80+
</div>
7781
<!-- Example row of columns -->
7882
<div class="row">
7983
<div class="span6">

lib/scaffolding.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ body {
3333
}
3434
// TODO in v2: rename this and .popover .content to be more specific
3535
> .content {
36+
float: left;
3637
min-width: 700px;
3738
max-width: 1180px;
38-
margin-left: 240px;
39-
.clearfix();
39+
margin-left: 20px;
4040
}
4141
}
4242

43+
// Toggling content
4344
.hide {
4445
display: none;
4546
}
46-
4747
.show {
4848
display: block;
4949
}

lib/tables.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ table {
1111
width: 100%;
1212
margin-bottom: @baseline;
1313
padding: 0;
14-
border-collapse: separate;
14+
border-collapse: separate; // Done so we can round those corners!
15+
*border-collapse: collapse; /* IE7, collapse table to remove spacing */
1516
font-size: @basefont;
1617
border: 1px solid #ddd;
1718
.border-radius(4px);

0 commit comments

Comments
 (0)