Skip to content

Commit

Permalink
achievements: smoother certifications (fixes #7975)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavinp14 committed Dec 23, 2024
1 parent 97fc1bb commit 169cff2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
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
15 changes: 11 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,17 @@
text-align: center;
}

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

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

0 comments on commit 169cff2

Please sign in to comment.