From d029892d2722d3c3fda72d9e0042272048460e76 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 17 Jul 2026 23:49:19 +0200 Subject: [PATCH] fix: tighter folder tree, smaller mail list font, smooth resize via DOM ref MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - MailFolderTree: reduce padding/gap ~25% (py-2→py-1, gap-2→gap-1.5) - MailList: text-sm→text-xs for from and subject lines - ResizablePanel: use DOM ref for width during drag instead of React state - No re-renders during drag, only single setWidth on mouseup - panelRef on outer div, contentRef on inner div - pointer-events:none on content during drag - contain:strict on content area --- .../src/components/mail/MailFolderTree.tsx | 2 +- frontend/src/components/mail/MailList.tsx | 4 +-- frontend/src/components/ui/ResizablePanel.tsx | 32 +++++++++++++++---- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/mail/MailFolderTree.tsx b/frontend/src/components/mail/MailFolderTree.tsx index 491442a..bbfb490 100644 --- a/frontend/src/components/mail/MailFolderTree.tsx +++ b/frontend/src/components/mail/MailFolderTree.tsx @@ -147,7 +147,7 @@ function FolderNode({