Skip to content

Commit b729ade

Browse files
committed
quick fix for .clearfix with unqualified selector in forms.less
1 parent 0c46ade commit b729ade

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

bootstrap-1.2.0.css

+2-7
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: Fri Sep 9 20:48:32 PDT 2011
9+
* Date: Mon Sep 12 09:25:40 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).
@@ -188,7 +188,6 @@ textarea {
188188
width: 940px;
189189
margin: 0 auto;
190190
zoom: 1;
191-
margin-bottom: 18px;
192191
}
193192
.container:before, .container:after {
194193
display: table;
@@ -269,7 +268,6 @@ textarea {
269268
* ------------------------------------------------------------------------------------------- */
270269
.row {
271270
zoom: 1;
272-
margin-bottom: 18px;
273271
margin-left: -20px;
274272
}
275273
.row:before, .row:after {
@@ -398,7 +396,6 @@ body {
398396
.container-fluid {
399397
padding: 0 20px;
400398
zoom: 1;
401-
margin-bottom: 18px;
402399
}
403400
.container-fluid:before, .container-fluid:after {
404401
display: table;
@@ -628,7 +625,7 @@ fieldset legend {
628625

629626
color: #404040;
630627
}
631-
.clearfix {
628+
form .clearfix {
632629
margin-bottom: 18px;
633630
}
634631
label,
@@ -1414,7 +1411,6 @@ a.menu:after, .dropdown-toggle:after {
14141411
padding: 0;
14151412
list-style: none;
14161413
zoom: 1;
1417-
margin-bottom: 18px;
14181414
}
14191415
.tabs:before,
14201416
.pills:before,
@@ -1836,7 +1832,6 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
18361832
-moz-box-shadow: inset 0 1px 0 #ffffff;
18371833
box-shadow: inset 0 1px 0 #ffffff;
18381834
zoom: 1;
1839-
margin-bottom: 18px;
18401835
margin-bottom: 0;
18411836
}
18421837
.modal-footer:before, .modal-footer:after {

bootstrap-1.2.0.min.css

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/forms.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fieldset {
2626
}
2727

2828
// Parent element that clears floats and wraps labels and fields together
29-
.clearfix {
29+
form .clearfix {
3030
margin-bottom: @baseline;
3131
}
3232

0 commit comments

Comments
 (0)