From 0d2c7bb3908ed4a92f5f343945fb2ea004533c82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de>
Date: Fri, 8 Mar 2019 18:15:56 +0100
Subject: [PATCH] Center buttons of content answering

---
 .../content-choice-participant.component.html                   | 2 +-
 .../content-text-participant.component.html                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/components/participant/content-choice-participant/content-choice-participant.component.html b/src/app/components/participant/content-choice-participant/content-choice-participant.component.html
index a7f41bf36..bbe19ad96 100644
--- a/src/app/components/participant/content-choice-participant/content-choice-participant.component.html
+++ b/src/app/components/participant/content-choice-participant/content-choice-participant.component.html
@@ -18,7 +18,7 @@
     </mat-list>
   </mat-radio-group>
   <mat-divider></mat-divider>
-  <div fxLayout fxLayoutGap="5px" fxAlign="row">
+  <div fxLayoutAlign="center" fxLayoutGap="20px" fxAlign="row">
     <button mat-raised-button [disabled]="alreadySent" type="submit" color="accent">{{ 'answer.submit' | translate }}</button>
     <button mat-raised-button [disabled]="alreadySent" (click)="abstain($event)" color="primary">{{ 'answer.abstain' | translate }}</button>
   </div>
diff --git a/src/app/components/participant/content-text-participant/content-text-participant.component.html b/src/app/components/participant/content-text-participant/content-text-participant.component.html
index 33f79b4cd..501cee9f7 100644
--- a/src/app/components/participant/content-text-participant/content-text-participant.component.html
+++ b/src/app/components/participant/content-text-participant/content-text-participant.component.html
@@ -4,7 +4,7 @@
   <mat-form-field class="input-block">
     <textarea matInput [(ngModel)]="textAnswer" name="answer" #answer placeholder="{{ 'answer.your-answer' | translate }}"></textarea>
   </mat-form-field>
-  <div fxLayout fxLayoutGap="5px" fxAlign="row">
+  <div fxLayoutAlign="center" fxLayoutGap="20px" fxAlign="row">
     <button mat-raised-button type="submit" color="accent">{{ 'answer.submit' | translate }}</button>
     <button mat-raised-button (click)="abstain($event)" color="primary">{{ 'answer.abstain' | translate }}</button>
   </div>
-- 
GitLab