breadcrum cursor seperator
This commit is contained in:
parent
f38a34eb2a
commit
9664eb07b8
@ -30,7 +30,7 @@ const Breadcrum: React.FC<Props> = ({path,onDirClick}) => {
|
||||
</Link>
|
||||
</div>
|
||||
<div className="breadcrum-item">
|
||||
<BreadcrumImage className="h-5 w-auto text-gray-400" />
|
||||
<BreadcrumImage className="h-5 w-auto text-gray-400 cursor-default" />
|
||||
<li>
|
||||
<a className={!keyParts.length?"text-blue-500":""} onClick={()=>{
|
||||
onDirClick?.(new ObjID(path.bucket,"/"))
|
||||
@ -43,7 +43,7 @@ const Breadcrum: React.FC<Props> = ({path,onDirClick}) => {
|
||||
{keyParts.map((e,i,arr)=>{
|
||||
const last = i == arr.length - 1
|
||||
return <div key={e} className="breadcrum-item">
|
||||
<BreadcrumImage className="h-5 w-auto text-gray-400" />
|
||||
<BreadcrumImage className="h-5 w-auto text-gray-400 cursor-default" />
|
||||
<li>
|
||||
<a
|
||||
className={`${last?"text-blue-500":""}`}
|
||||
|
Loading…
Reference in New Issue
Block a user