Skip to content

Commit

Permalink
fix: Limit project card title lines to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zusorio committed Jan 17, 2025
1 parent 30b7593 commit fc716b1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
>
<div class="header flex-row items-center gap-2">
@if (project.type === "training") {
<mat-icon>school</mat-icon>
<mat-icon class="shrink-0">school</mat-icon>
}
@if (project.visibility === "private") {
<mat-icon>lock</mat-icon>
<mat-icon class="shrink-0">lock</mat-icon>
} @else {
<mat-icon>lock_open</mat-icon>
<mat-icon class="shrink-0">lock_open</mat-icon>
}

<span class="">{{ project.name }}</span>
<span class="line-clamp-2">{{ project.name }}</span>
</div>
<div class="p-3">
<div class="line-clamp-4">
Expand Down

0 comments on commit fc716b1

Please sign in to comment.