From 25f60892edf65c237e56932ff5b80c0e147de815 Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Wed, 24 Nov 2021 12:33:01 +0100 Subject: [PATCH] [player] Use minimal height setting for dynamic elements --- .../player/src/app/components/section/section.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/player/src/app/components/section/section.component.html b/projects/player/src/app/components/section/section.component.html index 3e5a472b5..6fe7a7355 100644 --- a/projects/player/src/app/components/section/section.component.html +++ b/projects/player/src/app/components/section/section.component.html @@ -27,7 +27,7 @@ <ng-container *ngFor="let element of section.elements; let i = index"> <app-element-container [style.min-width.px]="element.width" - [style.min-height.px]="element.height" + [style.min-height.px]="element.useMinHeight ? element.height : 0" [style.margin-left.px]="element.marginLeft" [style.margin-right.px]="element.marginRight" [style.margin-top.px]="element.marginTop" -- GitLab