2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

fix forms examples and allow for inputs in labels

This commit is contained in:
Mark Otto
2012-01-25 21:28:24 -08:00
parent b6b19866ac
commit 94ea3b62f0
5 changed files with 126 additions and 103 deletions
+7 -1
View File
@@ -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;
}