0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 17:30:29 +01:00

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,6 +2,7 @@
{{#if field.label}} {{#if field.label}}
<span class='label-value'>{{field.label}}</span> <span class='label-value'>{{field.label}}</span>
{{/if}} {{/if}}
</label>
{{#if field.image}} {{#if field.image}}
<div class="field-image"><img src="{{field.image}}"></div> <div class="field-image"><img src="{{field.image}}"></div>
@ -10,7 +11,6 @@
{{#if field.description}} {{#if field.description}}
<div class='field-description'>{{cookedDescription}}</div> <div class='field-description'>{{cookedDescription}}</div>
{{/if}} {{/if}}
</label>
{{#if inputComponentName}} {{#if inputComponentName}}
<div class='input-area'> <div class='input-area'>

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;
} }