MOBILE-3814 module: Fix navigation buttons position
parent
a834f3c0c8
commit
183bc133d5
|
@ -1,6 +1,6 @@
|
||||||
<core-loading [hideUntil]="loaded" [fullscreen]="false">
|
<core-loading [hideUntil]="loaded" [fullscreen]="false">
|
||||||
<ion-row class="ion-justify-content-between ion-align-items-center ion-no-padding ion-wrap" *ngIf="previousModule || nextModule">
|
<ion-row class="ion-justify-content-between ion-align-items-center ion-no-padding ion-wrap" *ngIf="previousModule || nextModule">
|
||||||
<ion-col size="auto" class="ion-no-padding">
|
<ion-col size="auto" class="ion-no-padding core-course-module-navigation-arrow">
|
||||||
<ion-button fill="clear" class="core-course-previous-module" *ngIf="previousModule" (click)="goToActivity(false)"
|
<ion-button fill="clear" class="core-course-previous-module" *ngIf="previousModule" (click)="goToActivity(false)"
|
||||||
[attr.aria-label]="'core.course.gotopreviousactivity' | translate">
|
[attr.aria-label]="'core.course.gotopreviousactivity' | translate">
|
||||||
<ion-icon name="fas-arrow-left" slot="icon-only" aria-hidden="true"></ion-icon>
|
<ion-icon name="fas-arrow-left" slot="icon-only" aria-hidden="true"></ion-icon>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
[moduleId]="currentModule.id" [showManualCompletion]="true" (completionChanged)="completionChanged.emit($event)">
|
[moduleId]="currentModule.id" [showManualCompletion]="true" (completionChanged)="completionChanged.emit($event)">
|
||||||
</core-course-module-completion>
|
</core-course-module-completion>
|
||||||
</ion-col>
|
</ion-col>
|
||||||
<ion-col size="auto" class="ion-no-padding">
|
<ion-col size="auto" class="ion-no-padding core-course-module-navigation-arrow">
|
||||||
<ion-button fill="clear" class="core-course-next-module" *ngIf="nextModule" (click)="goToActivity(true)"
|
<ion-button fill="clear" class="core-course-next-module" *ngIf="nextModule" (click)="goToActivity(true)"
|
||||||
[attr.aria-label]="'core.course.gotonextactivity' | translate">
|
[attr.aria-label]="'core.course.gotonextactivity' | translate">
|
||||||
<ion-icon name="fas-arrow-right" slot="icon-only" aria-hidden="true"></ion-icon>
|
<ion-icon name="fas-arrow-right" slot="icon-only" aria-hidden="true"></ion-icon>
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
margin-top: var(--button-vertical-margin);
|
margin-top: var(--button-vertical-margin);
|
||||||
margin-bottom: var(--button-vertical-margin);
|
margin-bottom: var(--button-vertical-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.core-course-module-navigation-arrow {
|
||||||
|
min-width: 48px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:host-context(.core-iframe-fullscreen) {
|
:host-context(.core-iframe-fullscreen) {
|
||||||
|
|
Loading…
Reference in New Issue