From 364dbb7931393cb8fa796d75ec1f32a757d335e1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 30 Jul 2012 15:38:36 -0700 Subject: [PATCH] fixes #3665: ensure inputs in a fluid row maintain grid sizing --- docs/assets/css/bootstrap.css | 4 ++++ less/forms.less | 4 ++++ less/tests/css-tests.html | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index dd9b96bc16..59cf075796 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1165,6 +1165,10 @@ textarea[class*="span"], .input-append .uneditable-input[class*="span"], .input-prepend input[class*="span"], .input-prepend .uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"], .row-fluid .input-prepend [class*="span"], .row-fluid .input-append [class*="span"] { display: inline-block; diff --git a/less/forms.less b/less/forms.less index 0c913b952b..d127a5e9a2 100644 --- a/less/forms.less +++ b/less/forms.less @@ -279,6 +279,10 @@ textarea[class*="span"], .input-append .uneditable-input[class*="span"], .input-prepend input[class*="span"], .input-prepend .uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"], .row-fluid .input-prepend [class*="span"], .row-fluid .input-append [class*="span"] { display: inline-block; diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html index 3ded955bf6..71de6cce74 100644 --- a/less/tests/css-tests.html +++ b/less/tests/css-tests.html @@ -796,6 +796,25 @@ + +
+ +

Inline form in fluid row

+ +
+
+
+ + + + +
+
+
+ +