Merge pull request #3228 from alfonso-salces/MOBILE-3833

Mobile 3833
main
Pau Ferrer Ocaña 2022-04-05 11:26:51 +02:00 committed by GitHub
commit 512422d21b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -99,7 +99,7 @@
</div> </div>
</ion-item> </ion-item>
</ion-card-header> </ion-card-header>
<ion-card-content id="core-course-storage-section-{{section.id}}"> <ion-card-content id="core-course-storage-section-{{section.id}}" [ngClass]="{'hidden-content': !section.expanded}">
<ng-container *ngIf="section.expanded"> <ng-container *ngIf="section.expanded">
<ng-container *ngFor="let module of section.modules"> <ng-container *ngFor="let module of section.modules">
<ion-item class="ion-no-padding core-course-storage-activity" <ion-item class="ion-no-padding core-course-storage-activity"

View File

@ -8,7 +8,6 @@
} }
ion-card.section ion-card-header { ion-card.section ion-card-header {
margin-bottom: 8px;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
} }
@ -17,6 +16,10 @@
font-size: 1.2rem; font-size: 1.2rem;
} }
ion-card-content.hidden-content {
padding: 0;
}
.core-course-storage-activity ion-label { .core-course-storage-activity ion-label {
max-height: var(--course-storage-max-activity-height); max-height: var(--course-storage-max-activity-height);

View File

@ -336,6 +336,7 @@ export class CoreCourseModuleSummaryComponent implements OnInit, OnDestroy {
} }
} finally { } finally {
this.removeFilesLoading = false; this.removeFilesLoading = false;
delete this.size;
} }
await this.getPackageStatus(); await this.getPackageStatus();

View File

@ -503,6 +503,9 @@ ion-toast {
flex-direction: column; flex-direction: column;
align-items: flex-end; align-items: flex-end;
} }
&::part(message) {
align-self: flex-start;
}
} }
} }