Undo last commit
All checks were successful
Automated Container Build / build-and-push (push) Successful in 5s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 5s
This commit is contained in:
parent
f5e9cb019d
commit
e56370a446
1 changed files with 6 additions and 13 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Reference in a new issue