From f906fee8197b44eda23983badabbb219fd3d68d2 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Fri, 24 May 2024 14:58:39 -0400 Subject: [PATCH] Allow item tree to shrink further in Stacked view Fixes #4081 --- chrome/skin/default/zotero/overlay.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/skin/default/zotero/overlay.css b/chrome/skin/default/zotero/overlay.css index b4f11a631f..7e3ddb63ab 100644 --- a/chrome/skin/default/zotero/overlay.css +++ b/chrome/skin/default/zotero/overlay.css @@ -192,6 +192,10 @@ TODO: Replace with SVG #zotero-layout-switcher[orient="vertical"], #zotero-layout-switcher[orient="vertical"] :is(#zotero-items-pane-container, #zotero-item-pane) { width: auto !important; + /* min-width: 0 is required here to allow the pane to shrink in Stacked view, + but the child #zotero-items-pane sets a larger min-width, and the splitter + follows that instead of this. */ + min-width: 0 !important; } /*