]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
jankify the IE7 horizontal forms a bit more to account for no labels before .controls...
authorMark Otto <markotto@twitter.com>
Sun, 25 Mar 2012 21:46:47 +0000 (14:46 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 25 Mar 2012 21:46:47 +0000 (14:46 -0700)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/forms.less

index 21cc0149957580da33ed945a66eb3d70d201f824..34f98d65ed42825a626524badb00374a93b80f09 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index ff24af1fa354582656e88f34650c197b6f7ab3a2..355c824151cffa2b2b31d4f0f36413e5697cea08 100644 (file)
@@ -1186,6 +1186,9 @@ legend + .control-group {
   *margin-left: 0;
   *padding-left: 20px;
 }
+.form-horizontal .controls:first-child {
+  *padding-left: 160px;
+}
 .form-horizontal .help-block {
   margin-top: 9px;
   margin-bottom: 0;
index 72903faa29cd472f878a35c58ec81cfcdd5edd44..6c7faf0e200cfd70660173b63262055fa1658754 100644 (file)
@@ -548,6 +548,9 @@ legend + .control-group {
     *display: inline-block;
     *margin-left: 0;
     *padding-left: 20px;
+    &:first-child {
+      *padding-left: 160px;
+    }
   }
   // Remove bottom margin on block level help text since that's accounted for on .control-group
   .help-block {