createForm: Fix checkbox alignment

This commit is contained in:
Brian Federle 2013-10-01 14:33:31 -07:00
parent f6de5ca467
commit 7b6be2d7b1
1 changed files with 11 additions and 4 deletions

View File

@ -82,7 +82,7 @@
.message {
@include row;
}
form {
margin-top: 20px;
margin-bottom: 20px;
@ -93,7 +93,7 @@
.form-item {
@include row;
@include span-columns(12);
display: inline-block; // Needed for legacy code in JS
margin-top: 5px;
margin-bottom: 5px;
@ -108,7 +108,14 @@
}
input, select, .dynamic-input {
@include span-columns(7);
&:not([type=checkbox]) {
@include span-columns(7);
}
&[type=checkbox], [type=radio] {
@include span-columns(1);
}
@include shift(0.2);
}
}
@ -121,7 +128,7 @@
.form-item {
margin: 0;
label {
@include span-columns(4);
}