Fix: auto-save grid size changes and dynamically scale grid item heights based on grid size
All checks were successful
Automated Container Build / build-and-push (push) Successful in 35s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 35s
This commit is contained in:
parent
9feeef6329
commit
2778b1ab62
2 changed files with 3 additions and 1 deletions
|
|
@ -2098,7 +2098,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
|
|||
<Pin className="absolute top-2 right-2 w-3 h-3" style={{ color: 'var(--color-warning)' }} />
|
||||
)}
|
||||
<div className="flex flex-col items-center gap-3">
|
||||
<div className="w-full h-32 flex items-center justify-center">
|
||||
<div className="w-full flex items-center justify-center" style={{ height: `calc(${gridSize}px * 0.65)` }}>
|
||||
{getFileIcon(file, true)}
|
||||
</div>
|
||||
{renaming === file.path ? (
|
||||
|
|
|
|||
Reference in a new issue