Skip to content

Commit

Permalink
fix(kit): LineClamp recalculate size on hover (#4906)
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea authored Jul 12, 2023
1 parent 270e952 commit 2debc55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[tuiHint]="computedContent"
[style.-webkit-line-clamp]="lineClamp"
[style.word-break]="(lineClamp || 0) > 1 ? 'break-word' : 'break-all'"
(mouseenter)="updateView()"
(tuiResize)="updateView()"
>
<ng-container *polymorpheusOutlet="content as text">
Expand Down

0 comments on commit 2debc55

Please sign in to comment.