Show full tab title on hover
Fixes https://github.com/zotero/zotero/issues/2033
This commit is contained in:
parent
12b100fd4b
commit
74b9604c7b
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ const TabBar = forwardRef(function (props, ref) {
|
||||||
<div
|
<div
|
||||||
key={id}
|
key={id}
|
||||||
className={cx('tab', { selected })}
|
className={cx('tab', { selected })}
|
||||||
|
/* Fix 'title' not working for HTML-in-XUL */
|
||||||
|
onMouseOver={() => window.Zotero_Tooltip.start(title)}
|
||||||
|
onMouseOut={() => window.Zotero_Tooltip.stop()}
|
||||||
onMouseDown={(event) => handleMouseDown(event, id, index)}
|
onMouseDown={(event) => handleMouseDown(event, id, index)}
|
||||||
>
|
>
|
||||||
<div className="tab-name">{title}</div>
|
<div className="tab-name">{title}</div>
|
||||||
|
|
Loading…
Reference in a new issue