From f662dff6e9c52770511e5f674579a27eeac85549 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 12 Aug 2013 11:07:23 -0700 Subject: [PATCH] fixes #9382: inline forms now require use of .form-group for proper alignment of all form controls --- assets/css/docs.css | 5 --- css.html | 24 ++++++++---- dist/css/bootstrap.css | 77 +++++++++++++++++++++----------------- dist/css/bootstrap.min.css | 2 +- less/forms.less | 54 ++++++++++++++++---------- 5 files changed, 94 insertions(+), 68 deletions(-) diff --git a/assets/css/docs.css b/assets/css/docs.css index faadb28c20f4..196fe1f2c803 100644 --- a/assets/css/docs.css +++ b/assets/css/docs.css @@ -437,11 +437,6 @@ body { } /* Forms */ -.bs-example.form-inline select, -.bs-example.form-inline input[type="text"], -.bs-example.form-inline input[type="password"] { - width: 180px; -} .bs-example-control-sizing select, .bs-example-control-sizing input[type="text"] + input[type="text"] { margin-top: 10px; diff --git a/css.html b/css.html index ee15c30e9b36..190f8f237759 100644 --- a/css.html +++ b/css.html @@ -1394,10 +1394,14 @@

Always add labels

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the .sr-only class.

- - - - +
+ + +
+
+ + +