Remove sticky breadcrumbs
This commit is contained in:
@@ -31,12 +31,7 @@ export default function AdminBreadcrumbs({ pathname, title }: Props) {
|
|||||||
if (!hasBreadcrumbTrail({ pathname })) return null;
|
if (!hasBreadcrumbTrail({ pathname })) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack
|
<Stack className={twMerge("w-full shrink-0 pt-5 pb-1")}>
|
||||||
className={twMerge(
|
|
||||||
"w-full shrink-0 pt-5 pb-1 sticky top-0 z-10 bg-background-light",
|
|
||||||
"dark:bg-background-dark",
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<Breadcrumbs
|
<Breadcrumbs
|
||||||
pageUrl={pathname || AdminHomePath}
|
pageUrl={pathname || AdminHomePath}
|
||||||
currentTitle={title}
|
currentTitle={title}
|
||||||
|
|||||||
Reference in New Issue
Block a user