MOBILE-4270 h5p: Display ellipsis in attempts tables headers

main
Dani Palou 2023-05-10 09:17:43 +02:00
parent 006358b209
commit 96bdb4bd30
4 changed files with 13 additions and 1 deletions

View File

@ -65,7 +65,7 @@
<!-- Template to render a list of conversations. --> <!-- Template to render a list of conversations. -->
<ng-template #attemptsTemplate let-attempts="attempts"> <ng-template #attemptsTemplate let-attempts="attempts">
<!-- "Header" of the table --> <!-- "Header" of the table -->
<ion-item class="ion-text-wrap addon-mod_h5pactivity-table-header hide-detail" detail="true"> <ion-item class="addon-mod_h5pactivity-table-header hide-detail" detail="true">
<ion-label> <ion-label>
<ion-row class="ion-align-items-center"> <ion-row class="ion-align-items-center">
<ion-col class="ion-text-center">#</ion-col> <ion-col class="ion-text-center">#</ion-col>

View File

@ -1,6 +1,11 @@
:host { :host {
.addon-mod_h5pactivity-table-header { .addon-mod_h5pactivity-table-header {
font-weight: bold; font-weight: bold;
ion-col {
overflow: hidden;
text-overflow: ellipsis;
}
} }
.addon-mod_h5pactivity-table-row .addon-mod_h5pactivity-table-success-col { .addon-mod_h5pactivity-table-row .addon-mod_h5pactivity-table-success-col {

View File

@ -0,0 +1,6 @@
:host {
.addon-mod_h5pactivity-table-header ion-col {
overflow: hidden;
text-overflow: ellipsis;
}
}

View File

@ -32,6 +32,7 @@ import {
@Component({ @Component({
selector: 'page-addon-mod-h5pactivity-users-attempts', selector: 'page-addon-mod-h5pactivity-users-attempts',
templateUrl: 'users-attempts.html', templateUrl: 'users-attempts.html',
styleUrls: ['users-attempts.scss'],
}) })
export class AddonModH5PActivityUsersAttemptsPage implements OnInit { export class AddonModH5PActivityUsersAttemptsPage implements OnInit {