Skip to content
Snippets Groups Projects
Commit 7a6765b0 authored by rhenck's avatar rhenck
Browse files

[editor] Fix edit button position for likert options

parent 9215eda6
No related branches found
No related tags found
No related merge requests found
......@@ -232,8 +232,10 @@
<div class="drop-list" cdkDropList [cdkDropListData]="combinedProperties.questions"
(cdkDropListDropped)="reorderOptions('questions', $any($event))">
<div *ngFor="let question of $any(combinedProperties.questions); let i = index" cdkDrag
class="list-items">
{{question.text}}
class="list-items" fxLayout="row" fxLayoutAlign="end center">
<div fxFlex="70">
{{question.text}}
</div>
<button mat-icon-button color="warn"
(click)="editQuestionOption(i)">
<mat-icon>build</mat-icon>
......@@ -261,8 +263,10 @@
<div class="drop-list" cdkDropList [cdkDropListData]="combinedProperties.answers"
(cdkDropListDropped)="reorderOptions('answers', $any($event))">
<div *ngFor="let answer of $any(combinedProperties.answers); let i = index" cdkDrag
class="list-items">
{{answer.text}}
class="list-items" fxLayout="row" fxLayoutAlign="end center">
<div fxFlex="70">
{{answer.text}}
</div>
<button mat-icon-button color="warn"
(click)="editAnswerOption(i)">
<mat-icon>build</mat-icon>
......
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