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

Fix the vertical position of droplists in cloze elements

parent dd4da5fe
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,11 @@ import { ...@@ -3,9 +3,11 @@ import {
Component, EventEmitter, Input, Output, ViewChild Component, EventEmitter, Input, Output, ViewChild
} from '@angular/core'; } from '@angular/core';
import { FormGroup } from '@angular/forms'; import { FormGroup } from '@angular/forms';
import { ElementComponent } from '../../../directives/element-component.directive'; import { ElementComponent } from 'common/directives/element-component.directive';
import { ToggleButtonElement } from 'common/models/elements/compound-elements/cloze/cloze-child-elements/toggle-button'; import { ToggleButtonElement } from 'common/models/elements/compound-elements/cloze/cloze-child-elements/toggle-button';
import { TextFieldSimpleElement } from 'common/models/elements/compound-elements/cloze/cloze-child-elements/text-field-simple'; import {
TextFieldSimpleElement
} from 'common/models/elements/compound-elements/cloze/cloze-child-elements/text-field-simple';
import { ValueChangeElement } from 'common/models/elements/element'; import { ValueChangeElement } from 'common/models/elements/element';
@Component({ @Component({
...@@ -44,8 +46,7 @@ import { ValueChangeElement } from 'common/models/elements/element'; ...@@ -44,8 +46,7 @@ import { ValueChangeElement } from 'common/models/elements/element';
</div> </div>
`, `,
styles: [ styles: [
':host div > * {display: inline-block;}', ':host div > * {display: block;}'
'aspect-drop-list {vertical-align: middle;}'
] ]
}) })
export class CompoundChildOverlayComponent { // TODO rename to ClozeChildOverlay export class CompoundChildOverlayComponent { // TODO rename to ClozeChildOverlay
......
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