mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
jankify the IE7 horizontal forms a bit more to account for no labels before .controls, per #2728
This commit is contained in:
parent
cbd77d0aeb
commit
4c3e7690ba
Binary file not shown.
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@ -1186,6 +1186,9 @@ legend + .control-group {
|
|||||||
*margin-left: 0;
|
*margin-left: 0;
|
||||||
*padding-left: 20px;
|
*padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
.form-horizontal .controls:first-child {
|
||||||
|
*padding-left: 160px;
|
||||||
|
}
|
||||||
.form-horizontal .help-block {
|
.form-horizontal .help-block {
|
||||||
margin-top: 9px;
|
margin-top: 9px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -548,6 +548,9 @@ legend + .control-group {
|
|||||||
*display: inline-block;
|
*display: inline-block;
|
||||||
*margin-left: 0;
|
*margin-left: 0;
|
||||||
*padding-left: 20px;
|
*padding-left: 20px;
|
||||||
|
&:first-child {
|
||||||
|
*padding-left: 160px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Remove bottom margin on block level help text since that's accounted for on .control-group
|
// Remove bottom margin on block level help text since that's accounted for on .control-group
|
||||||
.help-block {
|
.help-block {
|
||||||
|
Loading…
Reference in New Issue
Block a user