diff --git a/apps/web/components/apps/layouts/AppsLayout.tsx b/apps/web/components/apps/layouts/AppsLayout.tsx index 0a89da7710..68ab006cfa 100644 --- a/apps/web/components/apps/layouts/AppsLayout.tsx +++ b/apps/web/components/apps/layouts/AppsLayout.tsx @@ -19,7 +19,7 @@ export default function AppsLayout({ children, actions, emptyStore, isAdmin, ... const router = useRouter(); return ( - +
{emptyStore ? ( diff --git a/apps/web/modules/shell/Shell.tsx b/apps/web/modules/shell/Shell.tsx index f861cb3df7..eaf62deb40 100644 --- a/apps/web/modules/shell/Shell.tsx +++ b/apps/web/modules/shell/Shell.tsx @@ -127,15 +127,22 @@ export default function Shell(props: LayoutProps) { export function ShellMain(props: LayoutProps) { const router = useRouter(); const { isLocaleReady } = useLocale(); + const { bannersHeight } = useBanners(); + + const headerStyle = + !props.disableSticky && bannersHeight + ? { top: `${bannersHeight}px` as const } + : undefined; return ( <> {(props.heading || !!props.backPath) && (
{!!props.backPath && (