1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 05:58:25 +01:00

fix the stacked form legend style

This commit is contained in:
Mark Otto 2011-09-09 21:43:19 -07:00
parent c56e229ed7
commit a0c3d48342
4 changed files with 5 additions and 5 deletions

4
bootstrap-1.3.0.css vendored
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: 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;

View File

@ -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;}

View File

@ -352,7 +352,7 @@
</tr>
</tbody>
</table>
<p></p>
<p>Modifying the grid means changing these values and recompiling.</p>
</div>
</div>
</section>

View File

@ -381,7 +381,7 @@ textarea[readonly] {
padding-top: @baseline / 2;
}
legend {
margin-left: 0;
padding-left: 0;
}
label {
display: block;