chore: handle app name and options too long (#2283)

This commit is contained in:
Joel
2024-01-30 14:53:10 +08:00
committed by GitHub
parent 57565db531
commit f8f4b961a1
3 changed files with 5 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ export default function AppNavItem({
<>
<div className='flex items-center space-x-2 w-0 grow'>
<AppIcon size='tiny' icon={icon} background={icon_background} />
<div className='overflow-hidden text-ellipsis whitespace-nowrap'>{name}</div>
<div className='overflow-hidden text-ellipsis whitespace-nowrap' title={name}>{name}</div>
</div>
<div className='shrink-0 h-6' onClick={e => e.stopPropagation()}>
<ItemOperation