From 127fa28f6d03d196d4f63a249649afeb8019e468 Mon Sep 17 00:00:00 2001 From: ralf Date: Fri, 16 Aug 2024 10:19:13 +0200 Subject: [PATCH] more work on et2-image to get it fill the whole container and getting Et2VfsMime (et2-vfs-mime) working again after et2-image changes missing changes due to merge :( --- api/js/etemplate/Et2Image/Et2Image.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/Et2Image/Et2Image.ts b/api/js/etemplate/Et2Image/Et2Image.ts index 5f4365aa86..5149be3ecd 100644 --- a/api/js/etemplate/Et2Image/Et2Image.ts +++ b/api/js/etemplate/Et2Image/Et2Image.ts @@ -132,7 +132,9 @@ export class Et2Image extends Et2Widget(LitElement) implements et2_IDetachedDOM set height(_height) { if (this.style) - this.style.height = isNaN(_height) ? _height : _height+'px'; + { + this.style.height = isNaN(_height) ? _height : _height+'px'; + } } get height() { @@ -170,7 +172,7 @@ export class Et2Image extends Et2Widget(LitElement) implements et2_IDetachedDOM