From 143b3db2c9c97b281b0c4ede937d136e9f904651 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 20 Feb 2012 18:56:05 -0800 Subject: update inline forms to resolve checkbox label with space in it and overlapping content, per #1969 --- docs/assets/bootstrap.zip | Bin 53401 -> 53473 bytes docs/assets/css/bootstrap.css | 9 +++++++++ docs/base-css.html | 5 ++++- docs/templates/pages/base-css.mustache | 5 ++++- 4 files changed, 17 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 2dcd38c33..f4a9241da 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a74f461c2..1d12c816f 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1001,9 +1001,18 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec .form-search .checkbox, .form-inline .radio, .form-inline .checkbox { + padding-left: 0; margin-bottom: 0; vertical-align: middle; } +.form-search .radio input[type="radio"], +.form-search .checkbox input[type="checkbox"], +.form-inline .radio input[type="radio"], +.form-inline .checkbox input[type="checkbox"] { + float: left; + margin-left: 0; + margin-right: 3px; +} .control-group { margin-bottom: 9px; } diff --git a/docs/base-css.html b/docs/base-css.html index 5a2e12748..86ea85533 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -910,7 +910,7 @@ For example, <code>section</code> should be wrapped as inline. @@ -918,6 +918,9 @@ For example, <code>section</code> should be wrapped as inline. <form class="well form-inline"> <input type="text" class="input-small" placeholder="Email"> <input type="password" class="input-small" placeholder="Password"> + <label class="checkbox"> + <input type="checkbox"> Remember me + </label> <button type="submit" class="btn">Go</button> </form> diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 96036d6ee..519f07bfe 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -834,7 +834,7 @@ @@ -842,6 +842,9 @@ <form class="well form-inline"> <input type="text" class="input-small" placeholder="{{_i}}Email{{/i}}"> <input type="password" class="input-small" placeholder="{{_i}}Password{{/i}}"> + <label class="checkbox"> + <input type="checkbox"> {{_i}}Remember me{{/i}} + </label> <button type="submit" class="btn">{{_i}}Go{{/i}}</button> </form> -- cgit v1.2.3