mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-22 02:41:23 +01:00
Add tooltip for unpin and close tab buttons (#1445)
This commit is contained in:
parent
34b73b8bea
commit
84bec65e50
@ -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>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user