]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
in responsive layouts <767px, ensure inputs are not larger than 100% with box-sizing...
authorMark Otto <markotto@twitter.com>
Sun, 11 Mar 2012 21:41:52 +0000 (14:41 -0700)
committerMark Otto <markotto@twitter.com>
Sun, 11 Mar 2012 21:41:52 +0000 (14:41 -0700)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
less/mixins.less
less/responsive.less

index 84215f7264849ad7d52c588e896c1f5ac3e19090..4a66cd1bb12d59b6226131da601cf59a3f2bcf11 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 47d25b0e8e62a2f89967588bc73962d89b5b4af5..f1ab51a219394e758c437abd2a44ac7a45e9b008 100644 (file)
     width: auto;
     margin: 0;
   }
+  input,
+  textarea,
+  select,
+  .uneditable-input {
+    -webkit-box-sizing: border-box;
+    -moz-box-sizing: border-box;
+    -ms-box-sizing: border-box;
+    box-sizing: border-box;
+    max-width: 100%;
+  }
 }
 @media (min-width: 768px) and (max-width: 979px) {
   .row {
index dbab904076c3336dd55576dd696c5540a820ef6f..2fd7cc135c8537d564012fdc30af284e7269c6e2 100644 (file)
@@ -3678,6 +3678,7 @@ a.thumbnail:hover {
   box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
+  -ms-box-sizing: border-box;
   box-sizing: border-box;
   -webkit-transition: width 0.6s ease;
   -moz-transition: width 0.6s ease;
index 5ff58a5c9637ebbe02a034876f8b2b9ab4a73a11..e142f1a63390f329aa63fb054c50c58a384f0252 100644 (file)
 .box-sizing(@boxmodel) {
   -webkit-box-sizing: @boxmodel;
      -moz-box-sizing: @boxmodel;
+      -ms-box-sizing: @boxmodel;
           box-sizing: @boxmodel;
 }
 
index f321891e81fba713407063530e90a7dad8e1a2dc..0003cd6d04bf84fd8d4b9527e4e1d67b6e22c4eb 100644 (file)
     width: auto;
     margin: 0;
   }
+
+  // FORM FIELDS
+  // -----------
+  // Make them behave like divs
+  input,
+  textarea,
+  select,
+  .uneditable-input {
+    .box-sizing(border-box);
+    max-width: 100%;
+  }
 }