diff --git a/src/core/courses/components/course-options-menu/core-courses-course-options-menu.html b/src/core/courses/components/course-options-menu/core-courses-course-options-menu.html index 12210c328..7be6638ba 100644 --- a/src/core/courses/components/course-options-menu/core-courses-course-options-menu.html +++ b/src/core/courses/components/course-options-menu/core-courses-course-options-menu.html @@ -1,5 +1,6 @@ - + +

{{ prefetch.title | translate }}

diff --git a/src/core/courses/components/course-progress/core-courses-course-progress.html b/src/core/courses/components/course-progress/core-courses-course-progress.html index da1c5be4d..4dab77489 100644 --- a/src/core/courses/components/course-progress/core-courses-course-progress.html +++ b/src/core/courses/components/course-progress/core-courses-course-progress.html @@ -18,13 +18,13 @@
- - - + + +
diff --git a/src/core/courses/components/course-progress/course-progress.scss b/src/core/courses/components/course-progress/course-progress.scss index fbfd3ad73..51c020133 100644 --- a/src/core/courses/components/course-progress/course-progress.scss +++ b/src/core/courses/components/course-progress/course-progress.scss @@ -57,6 +57,14 @@ ion-app.app-root core-courses-course-progress { &.core-course-more-than-title { padding-bottom: 0; } + + .core-button-spinner .spinner { + vertical-align: middle; + } + + .item-button[icon-only] { + min-width: 50px; + } } .label { @include margin(0, 0, 0, null); diff --git a/src/core/courses/components/course-progress/course-progress.ts b/src/core/courses/components/course-progress/course-progress.ts index e4afd00ad..294c73dd8 100644 --- a/src/core/courses/components/course-progress/course-progress.ts +++ b/src/core/courses/components/course-progress/course-progress.ts @@ -178,7 +178,9 @@ export class CoreCoursesCourseProgressComponent implements OnInit, OnDestroy { if (action) { switch (action) { case 'download': - this.prefetchCourse(e); + if (this.prefetchCourseData.prefetchCourseIcon != 'spinner') { + this.prefetchCourse(e); + } break; case 'hide': this.setCourseHidden(true);