Skip to content

Commit

Permalink
fix resizing issues from incorrectly changing <767px grid classes to …
Browse files Browse the repository at this point in the history
…inline-block, fix height issue on textareas
  • Loading branch information
mdo committed May 18, 2012
1 parent e5187e1 commit 78790da
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/assets/css/bootstrap-responsive.css
Expand Up @@ -169,11 +169,15 @@
}
[class*="span"],
.row-fluid [class*="span"] {
display: inline-block;
display: block;
float: none;
width: auto;
margin-left: 0;
}
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
display: inline-block;
}
.input-large,
.input-xlarge,
.input-xxlarge,
Expand Down
4 changes: 4 additions & 0 deletions docs/assets/css/bootstrap.css
Expand Up @@ -802,6 +802,10 @@ textarea {
width: 210px;
}

textarea {
height: auto;
}

textarea,
input[type="text"],
input[type="password"],
Expand Down
4 changes: 4 additions & 0 deletions less/forms.less
Expand Up @@ -94,6 +94,10 @@ input,
textarea {
width: 210px;
}
// Reset height since textareas have rows
textarea {
height: auto;
}
// Everything else
textarea,
input[type="text"],
Expand Down
6 changes: 5 additions & 1 deletion less/responsive-767px-max.less
Expand Up @@ -120,10 +120,14 @@
[class*="span"],
.row-fluid [class*="span"] {
float: none;
display: inline-block;
display: block;
width: auto;
margin-left: 0;
}
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
display: inline-block;
}

// FORM FIELDS
// -----------
Expand Down

0 comments on commit 78790da

Please sign in to comment.