From ee1748dbee5f8ded426cd2ae9ae6b0f6d966dce7 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 10 Feb 2026 13:09:04 +0000 Subject: [PATCH] Revert "fix: prevent layout shift in sticky navbar (#27256)" This reverts commit 38492d58393819b7af514617cdffcc967684df1e. --- apps/web/components/apps/layouts/AppsLayout.tsx | 2 +- apps/web/modules/shell/Shell.tsx | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/apps/web/components/apps/layouts/AppsLayout.tsx b/apps/web/components/apps/layouts/AppsLayout.tsx index 68ab006cfa..0a89da7710 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 eaf62deb40..f861cb3df7 100644 --- a/apps/web/modules/shell/Shell.tsx +++ b/apps/web/modules/shell/Shell.tsx @@ -127,22 +127,15 @@ 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 && (