Skip to content

Commit 239accc

Browse files
authored
Merge pull request #8312 from matthewevans/feat/commit-list-tooltip-v2
feat(CommitCard): add tooltip to commit title
2 parents ef6dcd8 + c8461bf commit 239accc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apps/desktop/src/components/CommitCard.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,11 @@
331331
<span class="text-13 text-body text-semibold commit__empty-title">empty commit message</span
332332
>
333333
{:else}
334-
<h5 class="text-13 text-body text-semibold commit__title" class:truncate={!showDetails}>
335-
{commit.descriptionTitle}
336-
</h5>
334+
<Tooltip text={commit.descriptionTitle}>
335+
<h5 class="text-13 text-body text-semibold commit__title" class:truncate={!showDetails}>
336+
{commit.descriptionTitle}
337+
</h5>
338+
</Tooltip>
337339

338340
<div class="text-11 text-semibold commit__subtitle">
339341
{#if commit.isSigned}

0 commit comments

Comments
 (0)