Skip to content

Commit

Permalink
mylife: smoother achievements certifications (fixes #7975) (#7995)
Browse files Browse the repository at this point in the history
Co-authored-by: Mutugi <[email protected]>
Co-authored-by: dogi <[email protected]>
  • Loading branch information
3 people authored Dec 27, 2024
1 parent f0368b8 commit fe5d6d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.23",
"version": "0.16.24",
"myplanet": {
"latest": "v0.21.55",
"min": "v0.20.55"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h3 i18n>My Goals</h3>
<h3 i18n>My Certifications</h3>
<mat-list class="certs-list">
<mat-list-item *ngFor="let certification of certifications">
{{certification.name}}
<span class="cert-item">{{certification.name}}</span>
</mat-list-item>
</mat-list>
</div>
Expand Down
10 changes: 6 additions & 4 deletions src/app/users/users-achievements/users-achievements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
text-align: center;
}

.certs-list .mat-list-item{
display: flex;
justify-content: center;
text-align: center;
.certs-list {
.cert-item {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}

& mat-list, & ul, & ol {
Expand Down

0 comments on commit fe5d6d0

Please sign in to comment.