Skip to content

Commit

Permalink
dashboard: smoother tiles (fixes #7924) (#7926)
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 12, 2024
1 parent ea37462 commit 0f4a9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.15.98",
"version": "0.15.99",
"myplanet": {
"latest": "v0.21.35",
"min": "v0.20.35"
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/dashboard-tile.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#dashboardTile
>
<p [matBadge]="item.badge" [matBadgeHidden]="item.badge===0" matBadgeOverlap="false">{{item.firstLine}}</p>
<p class="dashboard-text" [ngStyle]="{ '-webkit-line-clamp': tileLines }">{{item.title | slice:0:80}}</p>
<p class="dashboard-text" [ngStyle]="{ '-webkit-line-clamp': tileLines,'word-wrap': 'break-word' }">{{item.title | slice:0:80}}</p>
<button mat-icon-button class="delete-item" (click)="removeFromShelf($event, item)" *ngIf="cardType!=='myLife' && !item?.canRemove">
<mat-icon i18n-matTooltip [matTooltip]="'Remove from ' + cardTitle" [inline]="true">clear</mat-icon>
</button>
Expand Down

0 comments on commit 0f4a9ca

Please sign in to comment.