0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

jankify the IE7 horizontal forms a bit more to account for no labels before .controls, per #2728

This commit is contained in:
Mark Otto 2012-03-25 14:46:47 -07:00
parent cbd77d0aeb
commit 4c3e7690ba
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -1186,6 +1186,9 @@ legend + .control-group {
*margin-left: 0;
*padding-left: 20px;
}
.form-horizontal .controls:first-child {
*padding-left: 160px;
}
.form-horizontal .help-block {
margin-top: 9px;
margin-bottom: 0;

View File

@ -548,6 +548,9 @@ legend + .control-group {
*display: inline-block;
*margin-left: 0;
*padding-left: 20px;
&:first-child {
*padding-left: 160px;
}
}
// Remove bottom margin on block level help text since that's accounted for on .control-group
.help-block {