Skip to content

Commit

Permalink
Add tooltip for unpin and close tab buttons (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
esimkowitz authored Dec 10, 2024
1 parent 34b73b8 commit 84bec65
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/app/tab/tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,17 @@ const Tab = memo(
e.stopPropagation();
onPinChange();
}}
title="Unpin Tab"
>
<i className="fa fa-solid fa-thumbtack" />
</Button>
) : (
<Button className="ghost grey close" onClick={onClose} onMouseDown={handleMouseDownOnClose}>
<Button
className="ghost grey close"
onClick={onClose}
onMouseDown={handleMouseDownOnClose}
title="Close Tab"
>
<i className="fa fa-solid fa-xmark" />
</Button>
)}
Expand Down

0 comments on commit 84bec65

Please sign in to comment.