fix: 调整UI

This commit is contained in:
zdl
2025-12-10 18:18:05 +08:00
parent 395dc27fe2
commit c237a4dc0c

View File

@@ -134,7 +134,7 @@ const ShareholdersTable: React.FC<ShareholdersTableProps> = ({
ellipsis: true, ellipsis: true,
render: (name: string) => ( render: (name: string) => (
<Tooltip title={name}> <Tooltip title={name}>
<span style={{ fontWeight: 500 }}>{name}</span> <span style={{ fontWeight: 500, color: "#D4AF37" }}>{name}</span>
</Tooltip> </Tooltip>
), ),
}, },
@@ -156,7 +156,9 @@ const ShareholdersTable: React.FC<ShareholdersTableProps> = ({
align: "right", align: "right",
responsive: ["md"], responsive: ["md"],
sorter: (a: Shareholder, b: Shareholder) => (a.holding_shares || 0) - (b.holding_shares || 0), sorter: (a: Shareholder, b: Shareholder) => (a.holding_shares || 0) - (b.holding_shares || 0),
render: (shares: number) => formatShares(shares), render: (shares: number) => (
<span style={{ color: "#D4AF37" }}>{formatShares(shares)}</span>
),
}, },
{ {
title: <span style={{ whiteSpace: "nowrap" }}>{config.ratioLabel}</span>, title: <span style={{ whiteSpace: "nowrap" }}>{config.ratioLabel}</span>,