FIX: hide details

This commit is contained in:
Krzysztof Kotlarek 2024-12-06 08:43:44 +11:00
parent f1a5e4d968
commit 66b8ed4f80
3 changed files with 15 additions and 5 deletions

View File

@ -36,7 +36,10 @@
{{#if this.showEmbeddingCode}} {{#if this.showEmbeddingCode}}
<div class="admin-embedding-index__code"> <div class="admin-embedding-index__code">
{{html-safe (i18n "admin.embedding.sample")}} <details>
<HighlightedCode @code={{this.embeddingCode}} @lang="html" /> <summary>{{i18n "admin.embedding.configuration_snippet"}}</summary>
{{html-safe (i18n "admin.embedding.sample")}}
<HighlightedCode @code={{this.embeddingCode}} @lang="html" />
</details>
</div> </div>
{{/if}} {{/if}}

View File

@ -897,10 +897,16 @@
} }
} }
.admin-embeddable-host-item__delete { .admin-embedding {
color: var(--danger); details {
svg.d-icon { margin-top: 1em;
}
.admin-embeddable-host-item__delete {
color: var(--danger); color: var(--danger);
svg.d-icon {
color: var(--danger);
}
} }
} }

View File

@ -7336,6 +7336,7 @@ en:
crawler_settings_saved: "Crawler settings saved." crawler_settings_saved: "Crawler settings saved."
back: "Back to Embedding" back: "Back to Embedding"
more_options: "More options" more_options: "More options"
configuration_snippet: "Configuration Snippet"
host_form: host_form:
add_header: "Add host" add_header: "Add host"
edit_header: "Edit host" edit_header: "Edit host"