From d251594fd94ff7f7a81acbdc69fe0b557546f3e6 Mon Sep 17 00:00:00 2001 From: Syngnat Date: Wed, 18 Mar 2026 14:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(data-grid):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=AD=97=E6=AE=B5=E5=A4=87=E6=B3=A8=E8=BF=87=E9=95=BF?= =?UTF-8?q?=E6=97=B6=E6=BA=A2=E5=87=BA=E9=87=8D=E5=8F=A0=E5=88=B0=E7=9B=B8?= =?UTF-8?q?=E9=82=BB=E5=88=97=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 .gonavi-sortable-header-cell 添加 overflow: hidden 限制 th 溢出 - 为 .sortable-header-cell-drag-handle 添加 overflow: hidden 限制内容溢出 - 配合已有 text-overflow: ellipsis 实现长文本截断显示 - 完整备注仍可通过 Tooltip 悬浮查看 - refs #239 --- frontend/src/components/DataGrid.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/DataGrid.tsx b/frontend/src/components/DataGrid.tsx index 2ac62b6..b537df2 100644 --- a/frontend/src/components/DataGrid.tsx +++ b/frontend/src/components/DataGrid.tsx @@ -397,6 +397,7 @@ interface SortableHeaderCellProps extends React.HTMLAttributes