mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1965 from kinglozzer/1958-stacked-field-descriptions
FIX: Remove left margin on stacked form field descriptions (fixes #1958)
This commit is contained in:
commit
9bda0b7c54
@ -172,6 +172,7 @@ form.nostyle input.text, form.nostyle textarea, form.nostyle select, form.nostyl
|
|||||||
|
|
||||||
form.stacked .field label, .field.stacked label { display: block; float: none; padding-bottom: 10px; }
|
form.stacked .field label, .field.stacked label { display: block; float: none; padding-bottom: 10px; }
|
||||||
form.stacked .field .middleColumn, .field.stacked .middleColumn { margin-left: 0px; clear: left; }
|
form.stacked .field .middleColumn, .field.stacked .middleColumn { margin-left: 0px; clear: left; }
|
||||||
|
form.stacked .field .description, .field.stacked .description { margin-left: 0px; }
|
||||||
|
|
||||||
form.small .field label.left, .field.small label.left { width: 112px; }
|
form.small .field label.left, .field.small label.left { width: 112px; }
|
||||||
form.small .field .middleColumn, .field.small .middleColumn { margin-left: 120px; }
|
form.small .field .middleColumn, .field.small .middleColumn { margin-left: 120px; }
|
||||||
|
@ -163,6 +163,10 @@ form.stacked .field, .field.stacked {
|
|||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
form.small .field, .field.small {
|
form.small .field, .field.small {
|
||||||
|
Loading…
Reference in New Issue
Block a user