mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
breadcrumnbs sticky top
This commit is contained in:
@@ -5,8 +5,8 @@ interface BreadcrumbsProps {
|
||||
|
||||
export default function Breadcrumbs({ breadcrumbPath = ['Home'] }: BreadcrumbsProps) {
|
||||
return(
|
||||
<div className="w-full">
|
||||
<div className="breadcrumbs text-sm bg-base-200 pb-6">
|
||||
<div className="w-full z-10 relative md:sticky md:top-0">
|
||||
<div className="breadcrumbs text-sm bg-base-200 pb-6 md:shadow-md">
|
||||
<ul className="pl-4 pt-4">
|
||||
{breadcrumbPath.map((item, index) => (
|
||||
<li key={index}>
|
||||
|
||||
Reference in New Issue
Block a user