Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-05-18 09:00:49 +0400
committerMark Otto <markotto@twitter.com>2012-05-18 09:00:49 +0400
commit78790da03c2f18912215c6dc4c19d88e636c31dd (patch)
treeed6af1d94879d7bed3b5224b4d17a65fc662fc6a /less
parente5187e12c445fbba269c5a99f47ec2673e52969b (diff)
fix resizing issues from incorrectly changing <767px grid classes to inline-block, fix height issue on textareas
Diffstat (limited to 'less')
-rw-r--r--less/forms.less4
-rw-r--r--less/responsive-767px-max.less6
2 files changed, 9 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 606446638e..582bb413ba 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -94,6 +94,10 @@ input,
textarea {
width: 210px;
}
+// Reset height since textareas have rows
+textarea {
+ height: auto;
+}
// Everything else
textarea,
input[type="text"],
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index e35e45d892..fc422d3a25 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -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
// -----------