Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-03-12 11:15:27 +0400
committerMark Otto <markotto@twitter.com>2012-03-12 11:16:01 +0400
commit685039d608e16fc207ed2d8b5f31d47d6d0e6ae6 (patch)
tree95254853848cac0848f210a65606e042548c10e4 /less
parentc35b04cccda86164268508b59aa28655a31c1793 (diff)
add a super jank fix for horizontal-forms and .input-prepend/append in IE7
Diffstat (limited to 'less')
-rw-r--r--less/forms.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less
index 6e1d0fae33..8d9c253083 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -365,6 +365,7 @@ select:focus:required:invalid {
input,
select,
.uneditable-input {
+ *margin-left: 0;
.border-radius(0 3px 3px 0);
&:focus {
position: relative;
@@ -537,6 +538,10 @@ legend + .control-group {
// Move over all input controls and content
.controls {
margin-left: 160px;
+ /* Super jank IE7 fix to ensure the inputs in .input-append and input-prepend don't inherit the margin of the parent, in this case .controls */
+ *display: inline-block;
+ *margin-left: 0;
+ *padding-left: 20px;
}
// Remove bottom margin on block level help text since that's accounted for on .control-group
.help-block {