Skip to content

Commit

Permalink
fix: hotfix - add width 100% for table actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devjoaov committed Jul 15, 2024
1 parent a6ad835 commit 38e3011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataTable/DataTableRowActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const DataTableRowActions = ({ row, column }) => {
<span className="sr-only">Open menu</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-[160px]">
<DropdownMenuContent align="end" className="w-full">
{/* TODO: here we'd need to filter actions that the user cannot perform, or ideally do this in the BE */}
{filteredActions.map((action) => (
<DynamicActionComponent key={action} action={action} row={row} />
Expand Down

0 comments on commit 38e3011

Please sign in to comment.