From 192d92723235b7e01d22cad55490bea1e86f097b Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Mon, 22 Dec 2025 10:31:56 +0100 Subject: [PATCH] fix: align page headers by removing py-2 padding from ShellMain (#26084) * fix: align insights header with other pages by using ShellMainAppDir Co-Authored-By: peer@cal.com * fix: remove py-2 padding from ShellMain to align with ShellMainAppDir Co-Authored-By: peer@cal.com * address cubics comment - keep sticky bg, only remove padding --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Dhairyashil --- apps/web/app/(use-page-wrapper)/insights/layout.tsx | 12 ++++++------ packages/features/shell/Shell.tsx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/app/(use-page-wrapper)/insights/layout.tsx b/apps/web/app/(use-page-wrapper)/insights/layout.tsx index 056397f754..6eea6cf422 100644 --- a/apps/web/app/(use-page-wrapper)/insights/layout.tsx +++ b/apps/web/app/(use-page-wrapper)/insights/layout.tsx @@ -1,3 +1,4 @@ +import { ShellMainAppDir } from "app/(use-page-wrapper)/(main-nav)/ShellMainAppDir"; import { getTranslate } from "app/_utils"; import { CTA_CONTAINER_CLASS_NAME } from "@calcom/features/data-table/lib/utils"; @@ -9,14 +10,13 @@ export default async function InsightsLayout({ children }: { children: React.Rea const t = await getTranslate(); return ( -
- + }> + actions={
}> {children} - -
+
+
); } diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index f05a62ea1c..345c4eb118 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -130,7 +130,7 @@ export function ShellMain(props: LayoutProps) { {(props.heading || !!props.backPath) && (
{!!props.backPath && (