Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
Field description styles are off
Dieser Commit ist enthalten in:
Ursprung
e674617e37
Commit
4b4ed53a46
2 geänderte Dateien mit 22 neuen und 13 gelöschten Zeilen
|
@ -2,6 +2,7 @@
|
|||
{{#if field.label}}
|
||||
<span class='label-value'>{{field.label}}</span>
|
||||
{{/if}}
|
||||
</label>
|
||||
|
||||
{{#if field.image}}
|
||||
<div class="field-image"><img src="{{field.image}}"></div>
|
||||
|
@ -10,7 +11,6 @@
|
|||
{{#if field.description}}
|
||||
<div class='field-description'>{{cookedDescription}}</div>
|
||||
{{/if}}
|
||||
</label>
|
||||
|
||||
{{#if inputComponentName}}
|
||||
<div class='input-area'>
|
||||
|
|
|
@ -151,11 +151,6 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&> label {
|
||||
order: 1;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
&> .input-area {
|
||||
order: 0;
|
||||
margin: 15px 20px !important;
|
||||
|
@ -165,6 +160,16 @@
|
|||
transform: scale(1.3);
|
||||
}
|
||||
}
|
||||
|
||||
&> label {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
&> .field-description {
|
||||
margin-top: 0;
|
||||
margin-left: 10px;
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.control-group {
|
||||
|
@ -191,6 +196,10 @@
|
|||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.wizard-image-row .wizard-btn-upload {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wizard-column .wizard-field .input-area {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren