DEV: preview template style improvements
Dieser Commit ist enthalten in:
Ursprung
1c31097078
Commit
b37f7dbdd5
4 geänderte Dateien mit 11 neuen und 8 gelöschten Zeilen
|
@ -127,13 +127,13 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if isComposerPreview}}
|
{{#if isComposerPreview}}
|
||||||
<div class="setting">
|
<div class="setting full">
|
||||||
<div class="setting-label">
|
<div class="setting-label">
|
||||||
<label>{{i18n "admin.wizard.field.preview_template"}}</label>
|
<label>{{i18n "admin.wizard.field.preview_template"}}</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="setting-value">
|
<div class="setting-value">
|
||||||
{{textarea name="preview-template" value=field.preview_template}}
|
{{textarea name="preview-template" value=field.preview_template class="preview-template"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -317,6 +317,10 @@
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.preview-template {
|
||||||
|
min-height: 150px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.full,
|
&.full,
|
||||||
|
|
|
@ -72,6 +72,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
overflow: auto;
|
||||||
|
cursor: default;
|
||||||
|
margin-top: unset;
|
||||||
|
padding-top: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-editor-button-bar {
|
.d-editor-button-bar {
|
||||||
|
@ -107,11 +111,6 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-editor-preview-wrapper {
|
|
||||||
overflow: auto;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d-editor-input,
|
.d-editor-input,
|
||||||
.d-editor-preview {
|
.d-editor-preview {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
@ -183,7 +183,7 @@ en:
|
||||||
char_counter_placeholder: "Display Character Counter"
|
char_counter_placeholder: "Display Character Counter"
|
||||||
field_placeholder: "Field Placeholder"
|
field_placeholder: "Field Placeholder"
|
||||||
file_types: "File Types"
|
file_types: "File Types"
|
||||||
preview_template: "Preview Template"
|
preview_template: "Template"
|
||||||
limit: "Limit"
|
limit: "Limit"
|
||||||
property: "Property"
|
property: "Property"
|
||||||
prefill: "Prefill"
|
prefill: "Prefill"
|
||||||
|
|
Laden …
In neuem Issue referenzieren