Use 22px tree row height in Compact mode at default font size

In line with design

Tested on macOS and Windows
This commit is contained in:
Dan Stillman 2024-08-03 02:04:28 -04:00
parent 30cb2e1721
commit 833b85d33a

View file

@ -1346,7 +1346,7 @@ class VirtualizedTable extends React.Component {
if (!this.props.disableFontSizeScaling) {
rowHeight *= Zotero.Prefs.get('fontSize');
}
rowHeight += Zotero.Prefs.get('uiDensity') === 'comfortable' ? 10 : 4;
rowHeight += Zotero.Prefs.get('uiDensity') === 'comfortable' ? 10 : 5;
// @TODO: Check row height across platforms and remove commented code below
// padding