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

View File

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