diff --git a/src/app/components/fragments/content-list/content-list.component.ts b/src/app/components/fragments/content-list/content-list.component.ts index 0239b29069f6d4d2892b6a24f034f21cb4650f8b..bdaf0c4e71e103aa6f83c34056a05a0e64800e22 100644 --- a/src/app/components/fragments/content-list/content-list.component.ts +++ b/src/app/components/fragments/content-list/content-list.component.ts @@ -117,9 +117,8 @@ export class ContentListComponent implements OnInit { editChoiceContentDialog(index: number, content: ContentChoice) { const dialogRef = this.dialog.open(ContentChoiceCreatorComponent, { - width: '400px' + width: '800px' }); - // TODO unterscheidung zwischen single / multiple if (content.multiple) { dialogRef.componentInstance.singleChoice = false; dialogRef.componentInstance.multipleChoice = true; @@ -137,7 +136,7 @@ export class ContentListComponent implements OnInit { editBinaryContentDialog(index: number, content: ContentChoice) { const dialogRef = this.dialog.open(ContentChoiceCreatorComponent, { - width: '400px' + width: '800px' }); dialogRef.componentInstance.editDialogMode = true; dialogRef.componentInstance.multipleChoice = false; @@ -151,7 +150,7 @@ export class ContentListComponent implements OnInit { editLikertContentDialog(index: number, content: ContentChoice) { const dialogRef = this.dialog.open(ContentLikertCreatorComponent, { - width: '400px' + width: '800px' }); dialogRef.componentInstance.editDialogMode = true; dialogRef.componentInstance.content = content; @@ -163,7 +162,7 @@ export class ContentListComponent implements OnInit { editTextContentDialog(index: number, content: ContentText) { const dialogRef = this.dialog.open(ContentTextCreatorComponent, { - width: '400px' + width: '800px' }); dialogRef.componentInstance.editDialogMode = true; dialogRef.componentInstance.content = content;