style: distribution info table word wrap

This commit is contained in:
jialin
2025-04-24 23:13:47 +08:00
parent 2564fa7382
commit b5aba6e007
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -10,6 +10,7 @@ export interface ColumnProps {
title: string;
key: string;
width?: string | number;
style?: React.CSSProperties;
render?: (data: {
dataIndex: string;
dataList?: any[];
+1 -1
View File
@@ -52,7 +52,7 @@ const TableCell: React.FC<TableCellProps> = (props: TableCellProps) => {
dataList: dataList
})}
>
<span className="cell-span">
<span className="cell-span" style={column.style}>
{column.render
? column.render({
dataIndex: column.key,