Use 28px tree row height in Comfortable mode at default font size

In line with design
This commit is contained in:
Dan Stillman 2024-08-04 08:34:20 -04:00
parent 71d2cbd66a
commit 4e889934b9

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 : 5;
rowHeight += Zotero.Prefs.get('uiDensity') === 'comfortable' ? 11 : 5;
// @TODO: Check row height across platforms and remove commented code below
// padding