From a0c3d4834225a2dd9fe3f3100b44ea316137c2d9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 9 Sep 2011 21:43:19 -0700 Subject: [PATCH] fix the stacked form legend style --- bootstrap-1.3.0.css | 4 ++-- bootstrap-1.3.0.min.css | 2 +- docs/index.html | 2 +- lib/forms.less | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bootstrap-1.3.0.css b/bootstrap-1.3.0.css index 873df4c942..e8024e443a 100644 --- a/bootstrap-1.3.0.css +++ b/bootstrap-1.3.0.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: Fri Sep 9 10:06:26 PDT 2011 + * Date: Fri Sep 9 21:42:21 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -1012,7 +1012,7 @@ textarea[readonly] { padding-top: 9px; } .form-stacked legend { - margin-left: 0; + padding-left: 0; } .form-stacked label { display: block; diff --git a/bootstrap-1.3.0.min.css b/bootstrap-1.3.0.min.css index 567922a54d..de1d659b35 100644 --- a/bootstrap-1.3.0.min.css +++ b/bootstrap-1.3.0.min.css @@ -160,7 +160,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado .inputs-list li:first-child{padding-top:5px;} .inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;} .form-stacked{padding-left:20px;}.form-stacked fieldset{padding-top:9px;} -.form-stacked legend{margin-left:0;} +.form-stacked legend{padding-left:0;} .form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;} .form-stacked .clearfix{margin-bottom:9px;}.form-stacked .clearfix div.input{margin-left:0;} .form-stacked .inputs-list{margin-bottom:0;}.form-stacked .inputs-list li{padding-top:0;}.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;} diff --git a/docs/index.html b/docs/index.html index 79f8f3012b..f6c6d65b8e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -352,7 +352,7 @@ -

+

Modifying the grid means changing these values and recompiling.

diff --git a/lib/forms.less b/lib/forms.less index 0eae90a73f..3e52875ebc 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -381,7 +381,7 @@ textarea[readonly] { padding-top: @baseline / 2; } legend { - margin-left: 0; + padding-left: 0; } label { display: block;