Skip to content
Snippets Groups Projects
Commit 7df7c31a authored by jojohoch's avatar jojohoch
Browse files

Fix alignment of vertical positioned toggle buttons

parent f0ba1d74
No related branches found
No related tags found
No related merge requests found
Pipeline #56870 passed
Allgemein Allgemein
========= =========
## editor/2.4.8+player/2.4.9
### Fehlerbehebungen
- Korrigiert die Positionierung von vertikal ausgerichteten Optionsfeldern in Lückentexten
## editor/2.4.7+player/2.4.8 ## editor/2.4.7+player/2.4.8
### Fehlerbehebungen ### Fehlerbehebungen
- Verbesserte Bildvorschau in Dialogen (Editor) wurde rückgängig gemacht - Verbesserte Bildvorschau in Dialogen (Editor) wurde rückgängig gemacht
......
...@@ -156,6 +156,9 @@ import { ClozeChildOverlay } from './cloze-child-overlay.component'; ...@@ -156,6 +156,9 @@ import { ClozeChildOverlay } from './cloze-child-overlay.component';
[style.display]="'inline-block'" [style.display]="'inline-block'"
[parentForm]="parentForm" [parentForm]="parentForm"
[element]="$any(subPart).attrs.model" [element]="$any(subPart).attrs.model"
[style.vertical-align]="subPart.attrs.model.type === 'toggle-button' &&
subPart.attrs.model.verticalOrientation === true ?
'middle' : 'baseline'"
[editorMode]="editorMode" [editorMode]="editorMode"
(elementSelected)="childElementSelected.emit($event)"> (elementSelected)="childElementSelected.emit($event)">
</aspect-compound-child-overlay> </aspect-compound-child-overlay>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment