1
0
Fork 0

Field description styles are off

Dieser Commit ist enthalten in:
Angus McLeod 2018-04-05 15:49:39 +10:00
Ursprung e674617e37
Commit 4b4ed53a46
2 geänderte Dateien mit 22 neuen und 13 gelöschten Zeilen

Datei anzeigen

@ -2,16 +2,16 @@
{{#if field.label}} {{#if field.label}}
<span class='label-value'>{{field.label}}</span> <span class='label-value'>{{field.label}}</span>
{{/if}} {{/if}}
{{#if field.image}}
<div class="field-image"><img src="{{field.image}}"></div>
{{/if}}
{{#if field.description}}
<div class='field-description'>{{cookedDescription}}</div>
{{/if}}
</label> </label>
{{#if field.image}}
<div class="field-image"><img src="{{field.image}}"></div>
{{/if}}
{{#if field.description}}
<div class='field-description'>{{cookedDescription}}</div>
{{/if}}
{{#if inputComponentName}} {{#if inputComponentName}}
<div class='input-area'> <div class='input-area'>
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}} {{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}

Datei anzeigen

@ -151,11 +151,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
&> label {
order: 1;
flex: 1;
}
&> .input-area { &> .input-area {
order: 0; order: 0;
margin: 15px 20px !important; margin: 15px 20px !important;
@ -165,6 +160,16 @@
transform: scale(1.3); transform: scale(1.3);
} }
} }
&> label {
order: 1;
}
&> .field-description {
margin-top: 0;
margin-left: 10px;
order: 2;
}
} }
.control-group { .control-group {
@ -191,6 +196,10 @@
margin: 20px 0; margin: 20px 0;
} }
.wizard-image-row .wizard-btn-upload {
margin: 0;
}
.wizard-column .wizard-field .input-area { .wizard-column .wizard-field .input-area {
margin: 0.5em 0; margin: 0.5em 0;
} }