feat: enhance modification display with copy functionality and improved styling

This commit is contained in:
2026-04-07 11:17:14 +08:00
parent 9dfd52eb2d
commit 3da706402d
+13 -4
View File
@@ -59,10 +59,19 @@ export default function ModCodesPage() {
}}
>
<div className="flex flex-col gap-3">
<Typography.Paragraph className="mb-0!" copyable={{ text: modification.code }}>
<strong></strong>
{modification.code}
</Typography.Paragraph>
<div className="flex items-center justify-between gap-2">
<span>
<strong></strong>
<code className="bg-gray-400 px-2 py-1 rounded text-sm text-white">{modification.code}</code>
</span>
<Button
type="text"
size="small"
onClick={() => navigator.clipboard.writeText(modification.code)}
>
</Button>
</div>
<Typography.Text>
<strong></strong>