Undo last commit
All checks were successful
Automated Container Build / build-and-push (push) Successful in 5s

This commit is contained in:
Elijah 2026-06-15 16:36:39 -07:00
parent f5e9cb019d
commit e56370a446

View file

@ -2176,19 +2176,12 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
/>
) : (
<Tooltip text={file.name}>
<div className="flex items-center gap-2 justify-center w-full px-1">
{!file.is_dir && (
<div className="flex-shrink-0 flex items-center justify-center">
{getFileIcon(file, false)}
</div>
)}
<span
className={`text-xs font-medium text-center ${isMobile ? 'whitespace-normal break-words line-clamp-2' : 'truncate'}`}
style={{ color: 'var(--color-text-primary)' }}
>
{getFileDisplayName(file.name, file.is_dir)}
</span>
</div>
<span
className={`text-xs font-medium text-center w-full block ${isMobile ? 'whitespace-normal break-words line-clamp-2' : 'truncate'}`}
style={{ color: 'var(--color-text-primary)' }}
>
{getFileDisplayName(file.name, file.is_dir)}
</span>
</Tooltip>
)}
</div>