108108 </ ng-container >
109109
110110 < ion-item >
111- < button ion-button block (click) ="submitQuestion($event) " class ="button-no-uppercase "> {{ question.submitLabel }}</ button >
111+ < button ion-button block text-wrap (click) ="submitQuestion($event) " class ="button-no-uppercase "> {{ question.submitLabel }}</ button >
112112 </ ion-item >
113113 </ form >
114114 </ ion-card >
@@ -175,7 +175,7 @@ <h3 padding *ngIf="eolData.gradelesson">{{ 'addon.mod_lesson.congratulations' |
175175 < core-format-text [text] ="eolData.displayofgrade.message "> </ core-format-text >
176176 </ ion-item >
177177 < ion-item text-wrap *ngIf ="eolData.reviewlesson ">
178- < a ion-button block (click) ="reviewLesson(eolData.reviewlesson.pageid) " class ="button-no-uppercase ">
178+ < a ion-button block text-wrap (click) ="reviewLesson(eolData.reviewlesson.pageid) " class ="button-no-uppercase ">
179179 < core-format-text [text] ="'addon.mod_lesson.reviewlesson' | translate "> </ core-format-text >
180180 </ a >
181181 </ ion-item >
@@ -185,7 +185,7 @@ <h3 padding *ngIf="eolData.gradelesson">{{ 'addon.mod_lesson.congratulations' |
185185 < ion-item text-wrap *ngIf ="eolData.activitylink && eolData.activitylink.value ">
186186 < ng-container *ngIf ="eolData.activitylink.value.formatted ">
187187 <!-- Activity link was successfully formatted, render the button. -->
188- < a ion-button block color ="light " [href] ="eolData.activitylink.value.href " core-link [capture] ="true " class ="button-no-uppercase ">
188+ < a ion-button block text-wrap color ="light " [href] ="eolData.activitylink.value.href " core-link [capture] ="true " class ="button-no-uppercase ">
189189 < core-format-text [text] ="eolData.activitylink.value.label "> </ core-format-text >
190190 </ a >
191191 </ ng-container >
@@ -212,8 +212,8 @@ <h3 padding *ngIf="eolData.gradelesson">{{ 'addon.mod_lesson.congratulations' |
212212 </ div >
213213 </ ion-item >
214214 < ion-item text-wrap *ngIf ="review || (processData.buttons && processData.buttons.length) ">
215- < a ion-button block color ="light " *ngIf ="review " (click) ="changePage(LESSON_EOL) "> {{ 'addon.mod_lesson.finish' | translate }}</ a >
216- < a ion-button block color ="light " *ngFor ="let button of processData.buttons " (click) ="changePage(button.pageId, true) "> {{ button.label | translate }}</ a >
215+ < a ion-button block text-wrap color ="light " *ngIf ="review " (click) ="changePage(LESSON_EOL) "> {{ 'addon.mod_lesson.finish' | translate }}</ a >
216+ < a ion-button block text-wrap color ="light " *ngFor ="let button of processData.buttons " (click) ="changePage(button.pageId, true) "> {{ button.label | translate }}</ a >
217217 </ ion-item >
218218 </ ion-list >
219219 </ div >
0 commit comments