From 630415f91b4545cc8370b3d19cfd7a6208030b75 Mon Sep 17 00:00:00 2001 From: falendikategar Date: Tue, 8 Oct 2024 10:02:46 +0700 Subject: [PATCH] update: changes to the dashboard table component --- apps/frontend/src/components/DashboardTable.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/frontend/src/components/DashboardTable.tsx b/apps/frontend/src/components/DashboardTable.tsx index 988435c..2708e44 100644 --- a/apps/frontend/src/components/DashboardTable.tsx +++ b/apps/frontend/src/components/DashboardTable.tsx @@ -48,6 +48,8 @@ export default function DashboardTable({ table }: Props) { className="px-6 py-4 whitespace-nowrap text-sm text-black" style={{ maxWidth: `${cell.column.columnDef.maxSize}px`, + whiteSpace: "normal", + wordWrap: "break-word", }} > {flexRender(cell.column.columnDef.cell, cell.getContext())}