From 1cf11868b690f787da5ebf4fe2564896048a022c Mon Sep 17 00:00:00 2001 From: Youshan Liu Date: Fri, 15 Nov 2024 17:15:43 +0800 Subject: [PATCH] Update bootstrap.js --- bootstrap.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootstrap.js b/bootstrap.js index 4607de9..f404b71 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -22,7 +22,12 @@ async function startup({ id, version, rootURI }) { "citationcounts-column-title" ), pluginID: id, + flex: 0, + width: 100, + minWidth: 45, + staticWidth: true, dataProvider: (item) => ZoteroCitationCounts.getCitationCount(item), + zoteroPersist: ['width', 'hidden', 'sortDirection'], // persist the column properties }); itemObserver = Zotero.Notifier.registerObserver(