fix: Update breadcrumb styles in Online Drive component for improved visual consistency

This commit is contained in:
twwu 2025-08-13 14:28:55 +08:00
parent 4d34891ac0
commit acde411629
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ const Drive = ({
type='button'
className={cn(
'max-w-full shrink truncate rounded-md px-[5px] py-1',
prefix.length > 0 && 'system-sm-medium text-text-secondary hover:bg-state-base-hover',
prefix.length === 0 && 'system-sm-regular text-text-tertiary',
prefix.length > 0 && 'system-sm-regular text-text-tertiary hover:bg-state-base-hover',
prefix.length === 0 && 'system-sm-medium text-text-secondary',
)}
onClick={handleBackToRoot}
disabled={prefix.length === 0}