From 98ed686212791bfe5ef05c2a0a68dcc0c627abbc Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Fri, 29 Mar 2024 18:15:50 +0800 Subject: [PATCH] fx115: fix the itemBox rows stretching on menu open (#3898) --- chrome/content/zotero/elements/itemBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 9d5b3c783e..5223afff36 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -2385,7 +2385,7 @@ let isRightClick = event.type == 'contextmenu'; if (!isRightClick) { event.target.style.visibility = "visible"; - event.target.style.display = "block"; + event.target.style.display = "revert"; } // On click, we have x/y coordinates so use that // On keyboard click, open it next to the target