From 6edb56679a4687b63eeddce979d42008152dc410 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Mon, 17 Jun 2024 12:08:13 -0300 Subject: [PATCH] fix langflow api table rows elements position --- .../tableComponent/components/tableAutoCellRender/index.tsx | 2 +- src/frontend/src/style/ag-theme-shadcn.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/components/tableComponent/components/tableAutoCellRender/index.tsx b/src/frontend/src/components/tableComponent/components/tableAutoCellRender/index.tsx index 5836d70a2..4fb01b7ca 100644 --- a/src/frontend/src/components/tableComponent/components/tableAutoCellRender/index.tsx +++ b/src/frontend/src/components/tableComponent/components/tableAutoCellRender/index.tsx @@ -71,7 +71,7 @@ export default function TableAutoCellRender({ } return ( -
+
{getCellType()}
); diff --git a/src/frontend/src/style/ag-theme-shadcn.css b/src/frontend/src/style/ag-theme-shadcn.css index 731c001a2..1b1bd96a8 100644 --- a/src/frontend/src/style/ag-theme-shadcn.css +++ b/src/frontend/src/style/ag-theme-shadcn.css @@ -36,6 +36,10 @@ top: 2px; } +.ag-cell-wrapper > *:not(.ag-cell-value):not(.ag-group-value) { + height: 0px; +} + .ag-cell-wrapper { align-items: normal !important; }