mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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);
|
padding-inline-end: var(--sl-spacing-2x-small);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file et2-image,
|
||||||
.file et2-vfs-mime {
|
.file et2-vfs-mime {
|
||||||
/* line-height-normal has no unit */
|
/* line-height-normal has no unit */
|
||||||
height: calc(var(--sl-line-height-normal) * 1em);
|
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>
|
<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>
|
<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}
|
${this.value.name}
|
||||||
<slot part="suffix" name="suffix" class="file__suffix"></slot>
|
<slot part="suffix" name="suffix" class="file__suffix"></slot>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user