From c52e42d538384cb618870ac475f3546ddfef5f4c Mon Sep 17 00:00:00 2001 From: Jesse Washburn <142361664+jessewashburn@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:23:03 -0500 Subject: [PATCH] resources: smoother collections labels (fixes #7983) (#7988) Co-authored-by: dogi --- package.json | 6 +++--- src/app/courses/courses.scss | 8 ++++++++ src/app/resources/resources.scss | 8 ++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3620c97dce..b0371a0bb6 100755 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "planet", "license": "AGPL-3.0", - "version": "0.16.20", + "version": "0.16.21", "myplanet": { - "latest": "v0.21.51", - "min": "v0.20.51" + "latest": "v0.21.55", + "min": "v0.20.55" }, "scripts": { "ng": "ng", diff --git a/src/app/courses/courses.scss b/src/app/courses/courses.scss index efe18f5943..e13f0980d8 100644 --- a/src/app/courses/courses.scss +++ b/src/app/courses/courses.scss @@ -59,6 +59,14 @@ $label-height: 1rem; word-break: break-word; } +.tags-list mat-chip { + max-width: 200px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: inline-block; +} + @media(max-width: $screen-md) { .mat-column-info { max-width: 120px; diff --git a/src/app/resources/resources.scss b/src/app/resources/resources.scss index b73f711a42..1de20c3419 100644 --- a/src/app/resources/resources.scss +++ b/src/app/resources/resources.scss @@ -56,6 +56,14 @@ $label-height: 1rem; justify-content: center; } +.tags-list mat-chip { + max-width: 200px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: inline-block; +} + @media(max-width: $screen-md) { .resources-list { .mat-column-createdDate {