diff --git a/src/app/components/creator/content-choice-creator/content-choice-creator.component.html b/src/app/components/creator/content-choice-creator/content-choice-creator.component.html index 65f591bdd68adefbfa578b4a41b8e5ebc9df8771..61845ce9f02055b8bdffa8663f7680fc3fe5aa0e 100644 --- a/src/app/components/creator/content-choice-creator/content-choice-creator.component.html +++ b/src/app/components/creator/content-choice-creator/content-choice-creator.component.html @@ -1,5 +1,4 @@ <form (ngSubmit)="submitContent()" fxLayout="column" fxLayoutGap="20px"> - <mat-divider></mat-divider> <mat-radio-group [(ngModel)]="singleChoice" [ngModelOptions]="{standalone: true}" fxLayout="row" fxLayoutAlign="center" fxLayoutGap="20px"> <mat-radio-button [value]=true [checked]=true> @@ -40,12 +39,12 @@ <mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row> </mat-table> - <div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="50px"> + <div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="10px"> <mat-form-field class="input-block"> <input matInput #answerLabel [(ngModel)]="newAnswerOptionLabel" placeholder="{{ 'content.answer' | translate }}" name="answer"> </mat-form-field> - <button mat-button type="button" (click)="addAnswer($event); answerLabel.value = '';"> - {{ 'content.add-answer' | translate }} + <button mat-icon-button (click)="addAnswer($event); answerLabel.value = '';"> + <mat-icon color="primary">add_box</mat-icon> </button> </div> <div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="50px"> diff --git a/src/app/components/creator/content-choice-creator/content-choice-creator.component.scss b/src/app/components/creator/content-choice-creator/content-choice-creator.component.scss index 3d0e678f5ec7ef58ad3ce0c18847c8e32c158072..fa85de7a24f70f86d37e0476b530d24ac297407a 100644 --- a/src/app/components/creator/content-choice-creator/content-choice-creator.component.scss +++ b/src/app/components/creator/content-choice-creator/content-choice-creator.component.scss @@ -1,5 +1,5 @@ form > button { - margin: 20px 0; + margin: 20px; } mat-header-cell {