Add tooltip for unpin and close tab buttons (#1445)

This commit is contained in:
Evan Simkowitz 2024-12-09 16:55:52 -08:00 committed by GitHub
parent 34b73b8bea
commit 84bec65e50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>
)}