Skip to content

Commit 812094f

Browse files
dpaloutimhunt
authored andcommitted
Adapt mobile app template to Ionic 5
1 parent 7f9968c commit 812094f

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

mobile/varnumset.html

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
<section ion-list *ngIf="question.text || question.text === ''" class="qtype-varnumericset">
2-
<ion-item text-wrap>
3-
<p>
4-
<core-format-text [component]="component" [componentId]="componentId" [text]="question.text"></core-format-text>
5-
</p>
2+
<ion-item text-wrap class="ion-text-wrap">
3+
<ion-label>
4+
<p>
5+
<core-format-text [component]="component" [componentId]="componentId" [text]="question.text"></core-format-text>
6+
</p>
7+
</ion-label>
68
</ion-item>
7-
<ion-item text-wrap *ngIf="question.ablock || question.ablock === ''" class="qtype-varnumunit">
8-
<div>
9+
<ion-item text-wrap *ngIf="question.ablock || question.ablock === ''" class="qtype-varnumunit ion-text-wrap">
10+
<ion-label>
911
<core-format-text [component]="component" [componentId]="componentId" [text]="question.ablock"></core-format-text>
10-
</div>
12+
</ion-label>
1113
</ion-item>
12-
<ion-item text-wrap *ngIf="question.ousupsub" class="core-danger-item">
13-
<p class="core-question-warning">{{ 'plugin.qtype_varnumericset.err_ousupsubnotsupportedonmobile' | translate }}</p>
14+
<ion-item text-wrap *ngIf="question.ousupsub" class="core-danger-item ion-text-wrap">
15+
<ion-label>
16+
<p class="core-question-warning">{{ 'plugin.qtype_varnumericset.err_ousupsubnotsupportedonmobile' | translate }}</p>
17+
</ion-label>
1418
</ion-item>
1519
</section>

0 commit comments

Comments
 (0)