fix: deals table column width fixed
This commit is contained in:
@ -35,16 +35,19 @@ const useDealsTableColumns = ({ onEditClick }: Props) => {
|
|||||||
accessor: "id",
|
accessor: "id",
|
||||||
title: "Номер",
|
title: "Номер",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
|
width: "30%",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessor: "name",
|
accessor: "name",
|
||||||
title: "Название",
|
title: "Название",
|
||||||
|
width: "40%",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Дата создания",
|
title: "Дата создания",
|
||||||
accessor: "createdAt",
|
accessor: "createdAt",
|
||||||
render: deal => utcDateTimeToLocalString(deal.createdAt),
|
render: deal => utcDateTimeToLocalString(deal.createdAt),
|
||||||
sortable: true,
|
sortable: true,
|
||||||
|
width: "30%",
|
||||||
},
|
},
|
||||||
] as DataTableColumn<DealSchema>[],
|
] as DataTableColumn<DealSchema>[],
|
||||||
[onEditClick]
|
[onEditClick]
|
||||||
|
|||||||
Reference in New Issue
Block a user