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}> <Tooltip text={file.name}>
<div className="flex items-center gap-2 justify-center w-full px-1"> <span
{!file.is_dir && ( className={`text-xs font-medium text-center w-full block ${isMobile ? 'whitespace-normal break-words line-clamp-2' : 'truncate'}`}
<div className="flex-shrink-0 flex items-center justify-center"> style={{ color: 'var(--color-text-primary)' }}
{getFileIcon(file, false)} >
</div> {getFileDisplayName(file.name, file.is_dir)}
)} </span>
<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>
</Tooltip> </Tooltip>
)} )}
</div> </div>