fix: 调整UI
This commit is contained in:
@@ -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>,
|
||||||
|
|||||||
Reference in New Issue
Block a user