tanstak table corrected adaptive layout

This commit is contained in:
smanylov
2026-01-04 13:27:59 +07:00
parent edcac25b02
commit 6c46a1a655
6 changed files with 63 additions and 26 deletions
+5 -5
View File
@@ -336,29 +336,29 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
)
},
cell: ({ row }) => (
<div className="flex space-x-2 justify-center">
<div className="actions">
<button
onClick={() => handleView(row.original)}
className="px-3 py-1 bg-blue-500 text-white rounded hover:bg-blue-600 text-sm"
className="bg-blue-500 hover:bg-blue-600"
>
<IconEye />
</button>
<button
onClick={() => handleDownload(row.original)}
disabled={isFileLoading}
className="px-3 py-1 bg-green-500 text-white rounded hover:bg-green-600 text-sm"
className="bg-green-500 hover:bg-green-600"
>
<IconFileOpen />
</button>
<button
onClick={() => handleProtect(row.original)}
className="px-3 py-1 bg-violet-500 text-white rounded hover:bg-violet-600 text-sm"
className="bg-violet-500 hover:bg-violet-600"
>
<IconShieldExclamation />
</button>
<button
onClick={() => handleOpenWindowForRemove(row.original)}
className="px-3 py-1 bg-red-700 text-white rounded hover:bg-red-800 text-sm"
className="bg-red-700 hover:bg-red-800"
>
<IconDelete />
</button>