From 1be5fea51a111a8f0dce9a3619ae4dcaaf2bb558 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 28 Apr 2026 23:27:14 +0800 Subject: [PATCH] update --- web/src/components/ui/sidebar.tsx | 4 ++-- web/src/features/dashboard/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/components/ui/sidebar.tsx b/web/src/components/ui/sidebar.tsx index 0f1fec2..48bd737 100644 --- a/web/src/components/ui/sidebar.tsx +++ b/web/src/components/ui/sidebar.tsx @@ -24,8 +24,8 @@ import { const SIDEBAR_COOKIE_NAME = 'sidebar:state' const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7 -const SIDEBAR_WIDTH = '16rem' -const SIDEBAR_WIDTH_MOBILE = '18rem' +const SIDEBAR_WIDTH = '14rem' +const SIDEBAR_WIDTH_MOBILE = '16rem' const SIDEBAR_WIDTH_ICON = '3rem' const SIDEBAR_KEYBOARD_SHORTCUT = 'b' diff --git a/web/src/features/dashboard/index.tsx b/web/src/features/dashboard/index.tsx index 45067d4..ba32b64 100644 --- a/web/src/features/dashboard/index.tsx +++ b/web/src/features/dashboard/index.tsx @@ -488,7 +488,7 @@ export default function MailArchiveDashboard() { e.stopPropagation(); handleQuickAttachmentSearch({ id: a.id }) }} - className="hover:text-primary hover:underline transition-colors truncate max-w-[258px]" + className="hover:text-primary hover:underline transition-colors truncate max-w-[238px]" > {a.name || 'Unnamed'}