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}