diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.html b/src/addons/storagemanager/pages/course-storage/course-storage.html index 1d0182cf1..d0801b848 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.html +++ b/src/addons/storagemanager/pages/course-storage/course-storage.html @@ -47,8 +47,8 @@ - - + - diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.scss b/src/addons/storagemanager/pages/course-storage/course-storage.scss index 8682b14eb..cf6193060 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.scss +++ b/src/addons/storagemanager/pages/course-storage/course-storage.scss @@ -3,36 +3,41 @@ :host { --course-storage-max-activity-height: 120px; - ion-card ion-item { + ion-card ion-item.size { --inner-padding-end: 0px; } - ion-card.section ion-card-header { - padding-top: 8px; - padding-bottom: 8px; - } - ion-card.section .item-heading { - font-weight: bold; - font-size: 1.2rem; - } + ion-card.section { + ion-card-header { + padding: 0; + } + ion-card-content { + padding: 0; - ion-card-content.hidden-content { - padding: 0; - } + .core-course-storage-activity ion-label { + h3 { + position: relative; + max-height: var(--course-storage-max-activity-height); + overflow: hidden; + ::ng-deep * { + pointer-events: none !important; + } - .core-course-storage-activity ion-label h3 { - position: relative; - max-height: var(--course-storage-max-activity-height); - - &:before { - content: ''; - height: 100%; - min-height: var(--course-storage-max-activity-height); - position: absolute; - @include position(0, 0, null, 0); - background: linear-gradient(to bottom, rgba(var(--background-gradient-rgb), 0) calc(100% - 30px), rgba(var(--background-gradient-rgb), 1) calc(100% - 20px)); - z-index: 6; - pointer-events: none; + &:before { + content: ''; + height: var(--course-storage-max-activity-height); + position: absolute; + @include position(0, 0, null, 0); + background: linear-gradient(to bottom, rgba(var(--background-gradient-rgb), 0) calc(100% - 30px), rgba(var(--background-gradient-rgb), 1) calc(100% - 20px)); + z-index: 6; + pointer-events: none; + } + } + } + } + .item-heading { + font-weight: bold; + font-size: 1.2rem; } } }