From 060d2f1c37d50eec9214875b75b9af4fa957e66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Wed, 2 Feb 2022 12:25:31 +0200 Subject: [PATCH] Item tree: Add tooltips for header cells. Restrict the html-tooltip [title] selector to not fall back to window title when no title attributes are present. --- chrome/content/zotero/components/virtualized-table.jsx | 3 ++- chrome/content/zotero/zoteroPane.xul | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/components/virtualized-table.jsx b/chrome/content/zotero/components/virtualized-table.jsx index a149afc67f..ae1e6b24b7 100644 --- a/chrome/content/zotero/components/virtualized-table.jsx +++ b/chrome/content/zotero/components/virtualized-table.jsx @@ -1051,7 +1051,8 @@ class VirtualizedTable extends React.Component { {resizer} + className={`label ${column.dataKey}`} + title={columnName}> {label} {sortIndicator} diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul index 5cc0ad9e60..53adedefe2 100644 --- a/chrome/content/zotero/zoteroPane.xul +++ b/chrome/content/zotero/zoteroPane.xul @@ -246,7 +246,7 @@ - + @@ -358,7 +358,7 @@ - +