mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Put app icons in paste link dialog
This commit is contained in:
parent
e7571094ef
commit
c3d74620e8
@ -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);
|
||||
|
@ -72,7 +72,11 @@ export class Et2VfsSelectRow extends Et2Widget(LitElement)
|
||||
>
|
||||
<sl-icon part="checked-icon" class="file__check" name="check-lg" aria-hidden="true"></sl-icon>
|
||||
<slot part="prefix" name="prefix" class="file__prefix"></slot>
|
||||
<et2-vfs-mime .value=${this.value}></et2-vfs-mime>
|
||||
${typeof this.value.icon == "string" ? html`
|
||||
<et2-image src=${this.value.icon}></et2-image>` :
|
||||
html`
|
||||
<et2-vfs-mime .value=${this.value}></et2-vfs-mime>`
|
||||
}
|
||||
${this.value.name}
|
||||
<slot part="suffix" name="suffix" class="file__suffix"></slot>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user