]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4254: make .span12 expand full width of a parent when responsive
authorMark Otto <markotto@twitter.com>
Thu, 2 Aug 2012 02:33:37 +0000 (19:33 -0700)
committerMark Otto <markotto@twitter.com>
Thu, 2 Aug 2012 02:33:37 +0000 (19:33 -0700)
docs/assets/css/bootstrap-responsive.css
less/responsive-767px-max.less

index d234664421199b5d3dda49a2b4fb5da14c2ec9a6..d5b7e3c4e027f0e839d97d3b0515857a1c26f44d 100644 (file)
     width: auto;
     margin-left: 0;
   }
+  .span12,
+  .row-fluid .span12 {
+    width: 100%;
+    -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+            box-sizing: border-box;
+  }
   .input-large,
   .input-xlarge,
   .input-xxlarge,
index 18c96ee0b71e12a838d75222e14bbcc06dc5fae7..65e019a8fb04432d14926d6f1a80f63c80cc43e8 100644 (file)
     width: auto;
     margin-left: 0;
   }
+  .span12,
+  .row-fluid .span12 {
+    width: 100%;
+    .box-sizing(border-box);
+  }
 
   // FORM FIELDS
   // -----------