Add cell alignment and styling adjustments to actions column in proformas grid
This commit is contained in:
parent
4d1735e3d5
commit
00c647fe20
@ -266,9 +266,11 @@ export function useProformasGridColumns(
|
|||||||
meta: {
|
meta: {
|
||||||
isActionsColumn: true,
|
isActionsColumn: true,
|
||||||
headerClassName: "text-right",
|
headerClassName: "text-right",
|
||||||
|
cellClassName: "flex justify-end",
|
||||||
},
|
},
|
||||||
header: "Acciones",
|
header: "Acciones",
|
||||||
enableSorting: false,
|
enableSorting: false,
|
||||||
|
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const proforma = row.original;
|
const proforma = row.original;
|
||||||
const isIssued = proforma.status === PROFORMA_STATUS.ISSUED;
|
const isIssued = proforma.status === PROFORMA_STATUS.ISSUED;
|
||||||
@ -288,7 +290,7 @@ export function useProformasGridColumns(
|
|||||||
<TooltipTrigger
|
<TooltipTrigger
|
||||||
render={
|
render={
|
||||||
<Button
|
<Button
|
||||||
className="size-7 cursor-pointer text-muted-foreground hover:text-primary"
|
className="size-7 cursor-pointer text-muted-foreground hover:text-primary "
|
||||||
onClick={(event) => {
|
onClick={(event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user