mirror of https://github.com/apache/cloudstack.git
createForm: Fix checkbox alignment
This commit is contained in:
parent
f6de5ca467
commit
7b6be2d7b1
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue