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

fix resizing issues from incorrectly changing <767px grid classes to inline-block, fix height issue on textareas

This commit is contained in:
Mark Otto 2012-05-17 22:00:49 -07:00
parent e5187e12c4
commit 78790da03c
4 changed files with 18 additions and 2 deletions

View File

@ -169,11 +169,15 @@
} }
[class*="span"], [class*="span"],
.row-fluid [class*="span"] { .row-fluid [class*="span"] {
display: inline-block; display: block;
float: none; float: none;
width: auto; width: auto;
margin-left: 0; margin-left: 0;
} }
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
display: inline-block;
}
.input-large, .input-large,
.input-xlarge, .input-xlarge,
.input-xxlarge, .input-xxlarge,

View File

@ -802,6 +802,10 @@ textarea {
width: 210px; width: 210px;
} }
textarea {
height: auto;
}
textarea, textarea,
input[type="text"], input[type="text"],
input[type="password"], input[type="password"],

View File

@ -94,6 +94,10 @@ input,
textarea { textarea {
width: 210px; width: 210px;
} }
// Reset height since textareas have rows
textarea {
height: auto;
}
// Everything else // Everything else
textarea, textarea,
input[type="text"], input[type="text"],

View File

@ -120,10 +120,14 @@
[class*="span"], [class*="span"],
.row-fluid [class*="span"] { .row-fluid [class*="span"] {
float: none; float: none;
display: inline-block; display: block;
width: auto; width: auto;
margin-left: 0; margin-left: 0;
} }
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
display: inline-block;
}
// FORM FIELDS // FORM FIELDS
// ----------- // -----------