Skip to content

Commit 9320770

Browse files
committed
fix(ui): show full Kimai activity name in tooltip
(otherwise, it is often cut off)
1 parent 4df6a75 commit 9320770

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Dashboard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ function SelectActivityKimai() {
101101
<button
102102
className={classNames("py-0.5 px-1.5 border border-green-400 bg-green-300 focus:border-1.5 focus:outline-none rounded-md p-2 flex-1 w-full font-regular text-center whitespace-nowrap overflow-hidden text-ellipsis", { "grayscale-100": isActive, "cursor-pointer": !isActive })}
103103
onClick={() => !isActive && ipc.openPage("selectKimaiActivityDialog")}
104+
title={state.activity?.name}
104105
>
105106
{state.activity?.name || "No activity"}
106107
</button>

0 commit comments

Comments
 (0)