From 94ea3b62f09c840db5efe5e48815d011ca7e43d1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 25 Jan 2012 21:28:24 -0800 Subject: fix forms examples and allow for inputs in labels --- bootstrap.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bootstrap.css') diff --git a/bootstrap.css b/bootstrap.css index 6068875fd..7de580162 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Wed Jan 25 20:31:53 PST 2012 + * Date: Wed Jan 25 21:28:14 PST 2012 */ article, aside, @@ -511,6 +511,9 @@ select, width: auto; height: auto; } +label input, label textarea, label select { + display: block; +} input[type=image], input[type=checkbox], input[type=radio] { width: auto; height: auto; @@ -893,6 +896,9 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec .control-group { margin-bottom: 9px; } +.form-horizontal legend + .control-group { + padding-top: 27px; +} .form-horizontal .control-group { margin-bottom: 18px; } -- cgit v1.2.3