diff options
author | Mark Otto <markotto@twitter.com> | 2012-05-18 09:00:49 +0400 |
---|---|---|
committer | Mark Otto <markotto@twitter.com> | 2012-05-18 09:00:49 +0400 |
commit | 78790da03c2f18912215c6dc4c19d88e636c31dd (patch) | |
tree | ed6af1d94879d7bed3b5224b4d17a65fc662fc6a /less | |
parent | e5187e12c445fbba269c5a99f47ec2673e52969b (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.less | 4 | ||||
-rw-r--r-- | less/responsive-767px-max.less | 6 |
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 // ----------- |