1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 18:40:03 +00:00

fixes #4254: make .span12 expand full width of a parent when responsive

This commit is contained in:
Mark Otto 2012-08-01 19:33:37 -07:00
parent 3c742fc08b
commit 1bb7c0e669
2 changed files with 12 additions and 0 deletions

View File

@ -814,6 +814,13 @@
width: auto; width: auto;
margin-left: 0; 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-large,
.input-xlarge, .input-xlarge,
.input-xxlarge, .input-xxlarge,

View File

@ -62,6 +62,11 @@
width: auto; width: auto;
margin-left: 0; margin-left: 0;
} }
.span12,
.row-fluid .span12 {
width: 100%;
.box-sizing(border-box);
}
// FORM FIELDS // FORM FIELDS
// ----------- // -----------