diff --git a/projects/common/components/compound-elements/cloze/cloze.component.ts b/projects/common/components/compound-elements/cloze/cloze.component.ts index 12ae2f966abdfb3a50ab886f5778a7f98fce023a..9c37a4653feed9d3e1b010f3d35d554b04a87322 100644 --- a/projects/common/components/compound-elements/cloze/cloze.component.ts +++ b/projects/common/components/compound-elements/cloze/cloze.component.ts @@ -158,6 +158,11 @@ import { ClozeElement } from 'common/models/elements/compound-elements/cloze/clo <aspect-compound-child-overlay *ngIf="['ToggleButton', 'DropList', 'TextField', 'Button'] | 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"