From 743597bc47a8b27e4e74feae2e07f694c7088200 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 4 Jan 2024 10:16:39 -0800 Subject: [PATCH] Let window chrome shrink Now it's no worse than it was pre-redesign. But there's still room for improvement, either by preventing the window from shrinking to the point that the sidebars overflow or by making the sidebars horizontally scrollable at very small window sizes. --- scss/components/_mainWindow.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scss/components/_mainWindow.scss b/scss/components/_mainWindow.scss index a32cade680..1f6603e07b 100644 --- a/scss/components/_mainWindow.scss +++ b/scss/components/_mainWindow.scss @@ -140,3 +140,8 @@ :is(panel)::part(content) { --panel-background: var(--material-toolbar); } + +#zotero-pane-stack > hbox { + // Let window chrome, tabs, and toolbar shrink even when sidebars overflow + min-width: 0; +}