diff options
author | Mark Otto <markotto@twitter.com> | 2012-04-01 08:31:01 +0400 |
---|---|---|
committer | Mark Otto <markotto@twitter.com> | 2012-04-01 08:31:01 +0400 |
commit | f37d9aeaef12c3019112fa915b7bd4d927652a15 (patch) | |
tree | 5bbc50fb8c091d3b391ffb83f28dc68701bcf51d /less/responsive-767px-max.less | |
parent | 2355fd224ddcd571765c5ad2f2242dac65789aa4 (diff) |
fix #2856: make inputs using .span* classes responsive at <767px layout
Diffstat (limited to 'less/responsive-767px-max.less')
-rw-r--r-- | less/responsive-767px-max.less | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less index 7a3318a8fe..ba34b29a6e 100644 --- a/less/responsive-767px-max.less +++ b/less/responsive-767px-max.less @@ -100,9 +100,9 @@ .row { margin-left: 0; } - // Make all columns even - .row > [class*="span"], - .row-fluid > [class*="span"] { + // Make all grid-sized elements block level again + [class*="span"], + .row-fluid [class*="span"] { float: none; display: block; width: auto; @@ -125,8 +125,11 @@ .input-block-level(); } // But don't let it screw up prepend/append inputs + .input-prepend input, + .input-append input, .input-prepend input[class*="span"], .input-append input[class*="span"] { + display: inline-block; // redeclare so they don't wrap to new lines width: auto; } |