Skip to content

Commit c2fd990

Browse files
feat: sticky-shell (#20566)
* feat:sticky-shell * minor-change --------- Co-authored-by: Peer Richelsen <[email protected]>
1 parent ea3f4fe commit c2fd990

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/features/shell/Shell.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ export default function Shell(props: LayoutProps) {
125125

126126
export function ShellMain(props: LayoutProps) {
127127
const router = useRouter();
128-
const { isLocaleReady, t } = useLocale();
128+
const { isLocaleReady } = useLocale();
129129

130130
return (
131131
<>
132132
{(props.heading || !!props.backPath) && (
133133
<div
134134
className={classNames(
135-
"mb-0 flex items-center md:mb-6 md:mt-0",
135+
"bg-default sticky top-0 z-10 mb-0 flex items-center py-2 md:mb-6 md:mt-0",
136136
props.smallHeading ? "lg:mb-7" : "lg:mb-8"
137137
)}>
138138
{!!props.backPath && (

0 commit comments

Comments
 (0)