MOBILE-3833 course-storage: Add class to handle padding in section
parent
4ad2c72438
commit
10d357f9f9
|
@ -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"
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue