1
0
Fork 0

DEV: preview template style improvements

Dieser Commit ist enthalten in:
angusmcleod 2021-12-14 09:11:23 +08:00
Ursprung 1c31097078
Commit b37f7dbdd5
4 geänderte Dateien mit 11 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -127,13 +127,13 @@
{{/if}}
{{#if isComposerPreview}}
<div class="setting">
<div class="setting full">
<div class="setting-label">
<label>{{i18n "admin.wizard.field.preview_template"}}</label>
</div>
<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>
{{/if}}

Datei anzeigen

@ -317,6 +317,10 @@
font-size: 1em;
}
}
.preview-template {
min-height: 150px;
}
}
&.full,

Datei anzeigen

@ -72,6 +72,10 @@
display: flex;
flex-direction: column;
margin-left: 0;
overflow: auto;
cursor: default;
margin-top: unset;
padding-top: unset;
}
.d-editor-button-bar {
@ -107,11 +111,6 @@
display: inline-block;
}
.d-editor-preview-wrapper {
overflow: auto;
cursor: default;
}
.d-editor-input,
.d-editor-preview {
box-sizing: border-box;

Datei anzeigen

@ -183,7 +183,7 @@ en:
char_counter_placeholder: "Display Character Counter"
field_placeholder: "Field Placeholder"
file_types: "File Types"
preview_template: "Preview Template"
preview_template: "Template"
limit: "Limit"
property: "Property"
prefill: "Prefill"