Skip to content

Scheduling infrastructure for absolutely everyone.

fix: fixed layout shift issue of top banner (#9791)

Ayush Mainalif7b20da64042
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx
index 672760dac62..7ab961b6876 100644
--- a/packages/features/shell/Shell.tsx
+++ b/packages/features/shell/Shell.tsx
@@ -199,8 +199,8 @@ const Layout = (props: LayoutProps) => {
{/* todo: only run this if timezone is different */}
<TimezoneChangeDialog />
- <div style={{ paddingTop: `${bannersHeight}px` }} className="flex min-h-screen flex-col">
- <div ref={bannerRef} className="fixed top-0 z-10 w-full divide-y divide-black">
+ <div className="flex min-h-screen flex-col">
+ <div ref={bannerRef} className="sticky top-0 z-10 w-full divide-y divide-black">
<TeamsUpgradeBanner />
<OrgUpgradeBanner />
<ImpersonatingBanner />