From 6a09679d4d74124cf56d77f6439be99d43914480 Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Fri, 2 Feb 2024 15:35:51 +0100
Subject: [PATCH] Remove false aligmment for cloze children

---
 .../components/compound-elements/cloze/cloze.component.ts    | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/projects/common/components/compound-elements/cloze/cloze.component.ts b/projects/common/components/compound-elements/cloze/cloze.component.ts
index 2f7981c8e..fddca3574 100644
--- a/projects/common/components/compound-elements/cloze/cloze.component.ts
+++ b/projects/common/components/compound-elements/cloze/cloze.component.ts
@@ -154,11 +154,6 @@ import { ClozeChildOverlay } from './cloze-child-overlay.component';
         <aspect-compound-child-overlay
           *ngIf="ClozeElement.validChildElements | arrayIncludes:subPart.type"
           [style.display]="'inline-block'"
-          [style.vertical-align]="subPart.attrs.model.type === 'drop-list' &&
-                                    subPart.attrs.model.onlyOneItem === false ||
-                                  subPart.attrs.model.type === 'toggle-button' &&
-                                    subPart.attrs.model.verticalOrientation === true ?
-                                  'middle' : 'baseline'"
           [parentForm]="parentForm"
           [element]="$any(subPart).attrs.model"
           [editorMode]="editorMode"
-- 
GitLab