From c3d74620e8ace4ffe04f37bde153955cb7b770be Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 17 Apr 2024 11:53:24 -0600 Subject: [PATCH] Put app icons in paste link dialog --- api/js/etemplate/Et2Vfs/Et2VfsSelectRow.styles.ts | 1 + api/js/etemplate/Et2Vfs/Et2VfsSelectRow.ts | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.styles.ts b/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.styles.ts index c908323244..24f403a204 100644 --- a/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.styles.ts +++ b/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.styles.ts @@ -62,6 +62,7 @@ export default css` padding-inline-end: var(--sl-spacing-2x-small); } + .file et2-image, .file et2-vfs-mime { /* line-height-normal has no unit */ height: calc(var(--sl-line-height-normal) * 1em); diff --git a/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.ts b/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.ts index 41a5416bff..d4d7a7580f 100644 --- a/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.ts +++ b/api/js/etemplate/Et2Vfs/Et2VfsSelectRow.ts @@ -72,7 +72,11 @@ export class Et2VfsSelectRow extends Et2Widget(LitElement) > - + ${typeof this.value.icon == "string" ? html` + ` : + html` + ` + } ${this.value.name}