From b78ca51bb138aea0c7bf433fba40656c9ffd94c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 3 Dec 2018 13:18:04 +0100 Subject: [PATCH] MOBILE-2773 courses: Hide summary from course cards --- src/app/app.scss | 5 +++++ .../course-progress/core-courses-course-progress.html | 11 ++--------- .../components/course-progress/course-progress.scss | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/app/app.scss b/src/app/app.scss index 0c420d698..48252ee67 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -498,6 +498,11 @@ ion-app.app-root { @include text-align('end'); flex-grow: 2; } + + .select-text { + text-overflow: ellipsis; + white-space: nowrap; + } } 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 4a8f9f36b..4e2323129 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 @@ -2,8 +2,8 @@
- -
+ +

@@ -30,13 +30,6 @@

- -

-

- - -

-
diff --git a/src/core/courses/components/course-progress/course-progress.scss b/src/core/courses/components/course-progress/course-progress.scss index 7914924b0..5b3b407c7 100644 --- a/src/core/courses/components/course-progress/course-progress.scss +++ b/src/core/courses/components/course-progress/course-progress.scss @@ -47,7 +47,7 @@ ion-app.app-root core-courses-course-progress { align-items: center; justify-content: space-between; } - h2 { + .core-course-title { margins: 6px 0; flex-grow: 1;