mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
just using width: 100%, unless a height is eplizitly specified
This commit is contained in:
parent
3f80021c8e
commit
c49618be51
@ -177,7 +177,7 @@ export class Et2Image extends Et2Widget(LitElement) implements et2_IDetachedDOM
|
||||
<img ${this.id ? html`id="${this.id}"` : ''}
|
||||
src="${url}"
|
||||
alt="${this.label}"
|
||||
style="${this.height ? 'height: 100%; width: auto' : (this.width ? 'width: 100%; height: auto' : 'width: 16px; height: auto')}"
|
||||
style="${this.height ? 'height: 100%; width: auto' : 'width: 100%; height: auto'}"
|
||||
part="image"
|
||||
loading="lazy"
|
||||
title="${this.statustext || this.label}"
|
||||
|
Loading…
Reference in New Issue
Block a user