MOBILE-4081 quiz: Fix submit quiz button alignment

main
Dani Palou 2022-12-16 12:32:08 +01:00
parent 38c43984f0
commit e40b212fef
1 changed files with 13 additions and 12 deletions

View File

@ -149,19 +149,20 @@
</ion-button> </ion-button>
</ion-card> </ion-card>
<div collapsible-footer appearOnBottom *ngIf="!quizAborted && showSummary && summaryQuestions.length && loaded" slot="fixed" <div collapsible-footer appearOnBottom *ngIf="!quizAborted && showSummary && summaryQuestions.length && loaded" slot="fixed">
class="list-item-limited-width"> <div class="list-item-limited-width">
<ion-button *ngIf="preventSubmitMessages.length" expand="block" class="ion-margin ion-text-wrap" [href]="moduleUrl" core-link <ion-button *ngIf="preventSubmitMessages.length" expand="block" class="ion-margin ion-text-wrap" [href]="moduleUrl"
[showBrowserWarning]="false"> core-link [showBrowserWarning]="false">
{{ 'core.openinbrowser' | translate }} {{ 'core.openinbrowser' | translate }}
<ion-icon name="fas-external-link-alt" slot="end" aria-hidden="true"></ion-icon> <ion-icon name="fas-external-link-alt" slot="end" aria-hidden="true"></ion-icon>
</ion-button> </ion-button>
<!-- Button to submit the quiz. --> <!-- Button to submit the quiz. -->
<ion-button *ngIf="!attempt!.finishedOffline && !preventSubmitMessages.length" expand="block" class="ion-margin ion-text-wrap" <ion-button *ngIf="!attempt!.finishedOffline && !preventSubmitMessages.length" expand="block"
(click)="finishAttempt(true)"> class="ion-margin ion-text-wrap" (click)="finishAttempt(true)">
{{ 'addon.mod_quiz.submitallandfinish' | translate }} {{ 'addon.mod_quiz.submitallandfinish' | translate }}
</ion-button> </ion-button>
</div> </div>
</div>
</core-loading> </core-loading>
</ion-content> </ion-content>