From 1bb7c0e669bfa431b190ed3b283be93f27cf0eae Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 1 Aug 2012 19:33:37 -0700 Subject: [PATCH] fixes #4254: make .span12 expand full width of a parent when responsive --- docs/assets/css/bootstrap-responsive.css | 7 +++++++ less/responsive-767px-max.less | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index d234664421..d5b7e3c4e0 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -814,6 +814,13 @@ 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, diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less index 18c96ee0b7..65e019a8fb 100644 --- a/less/responsive-767px-max.less +++ b/less/responsive-767px-max.less @@ -62,6 +62,11 @@ width: auto; margin-left: 0; } + .span12, + .row-fluid .span12 { + width: 100%; + .box-sizing(border-box); + } // FORM FIELDS // -----------