From 07627b3a60bcdc8a182c34f8d7f091703d7dbe25 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 25 Oct 2026 12:30:23 +0100 Subject: [PATCH] fix: give every app's sidebar header and toolbar the same height as mail --- components/calendar/calendar-sidebar-header.tsx | 5 +++-- components/calendar/calendar-toolbar.tsx | 2 +- components/calendar/task-toolbar.tsx | 2 +- components/contacts/contact-list.tsx | 4 ++-- components/contacts/contacts-sidebar.tsx | 2 +- components/files/files-header.tsx | 9 ++++----- components/files/files-sidebar.tsx | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/components/calendar/calendar-sidebar-header.tsx b/components/calendar/calendar-sidebar-header.tsx index f2c6f68b5..e9120d91a 100644 --- a/components/calendar/calendar-sidebar-header.tsx +++ b/components/calendar/calendar-sidebar-header.tsx @@ -18,8 +18,9 @@ export function CalendarSidebarHeader({ onCreateEvent, tourTarget = true }: Cale const t = useTranslations("calendar"); return ( - // Same h-14 box as the mail sidebar's account switcher, so the apps line up. -
+ // Same h-14 box as the mail sidebar's account switcher, so the apps line up; + // box-content keeps the border outside it, as in mail. +
{t("title")} @@ -226,14 +225,14 @@ export function FilesHeader({ if (compact && searchOpen && !toolsHidden) { return ( -
+
{searchField}
); } return ( -
+
{onMenuClick && (