Skip to content

Commit

Permalink
resources: smoother collections labels (fixes #7983) (#7988)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
jessewashburn and dogi authored Dec 23, 2024
1 parent 97fc1bb commit c52e42d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 8 additions & 0 deletions src/app/courses/courses.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 8 additions & 0 deletions src/app/resources/resources.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c52e42d

Please sign in to comment.