Skip to content

Scheduling infrastructure for absolutely everyone.

feat: sticky-shell (#20566)

Tushar Bhattc2fd990504e8
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx
index 3ffc06c2b93..8f966c03ad0 100644
--- a/packages/features/shell/Shell.tsx
+++ b/packages/features/shell/Shell.tsx
@@ -125,14 +125,14 @@ export default function Shell(props: LayoutProps) {
export function ShellMain(props: LayoutProps) {
const router = useRouter();
- const { isLocaleReady, t } = useLocale();
+ const { isLocaleReady } = useLocale();
return (
<>
{(props.heading || !!props.backPath) && (
<div
className={classNames(
- "mb-0 flex items-center md:mb-6 md:mt-0",
+ "bg-default sticky top-0 z-10 mb-0 flex items-center py-2 md:mb-6 md:mt-0",
props.smallHeading ? "lg:mb-7" : "lg:mb-8"
)}>
{!!props.backPath && (