From 8da0e95c60f9018673567010dea4530102f32bb3 Mon Sep 17 00:00:00 2001 From: rhenck <richard.henck@iqb.hu-berlin.de> Date: Fri, 22 Mar 2024 15:14:55 +0100 Subject: [PATCH] [editor] Improve styling of TextImage-Panel dialog Restrict maximun size of image. #638 --- projects/common/components/text-image-panel.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/common/components/text-image-panel.component.ts b/projects/common/components/text-image-panel.component.ts index 6fc26c163..e20b2c455 100644 --- a/projects/common/components/text-image-panel.component.ts +++ b/projects/common/components/text-image-panel.component.ts @@ -35,7 +35,9 @@ import { DragNDropValueObject, TextImageLabel } from 'common/models/elements/lab .image-wrapper { display: flex; justify-content: inherit; - max-height: 100%; + max-height: 350px; + max-width: 600px; + padding: 0 20px; } .column {flex-direction: column;} .column-reverse {flex-direction: column-reverse;} -- GitLab