tanstak table corrected adaptive layout
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user