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 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}}
|
||||
|
|
|
@ -317,6 +317,10 @@
|
|||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.preview-template {
|
||||
min-height: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
&.full,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Laden …
In neuem Issue referenzieren