fix: correct className syntax for consistent styling in firearms and mod codes pages
This commit is contained in:
@@ -70,8 +70,7 @@ export default function FirearmsPage() {
|
||||
<Link key={`mod-codes-${firearm.id}`} to={`/mod-codes?firearmId=${firearm.id}`}>
|
||||
<Button type="link">查看改枪码</Button>
|
||||
</Link>,
|
||||
]}
|
||||
>
|
||||
]}>
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex items-center justify-between">
|
||||
<Tag color="blue">{firearmTypeText[firearm.type]}</Tag>
|
||||
@@ -80,7 +79,11 @@ export default function FirearmsPage() {
|
||||
<strong>武器输出等级:</strong>
|
||||
{firearm.level}
|
||||
</Typography.Text>
|
||||
<Typography.Paragraph style={{ marginBottom: 0 }} type="secondary" ellipsis={{ rows: 3 }}>
|
||||
<Typography.Paragraph
|
||||
style={{ marginBottom: 0 }}
|
||||
type="secondary"
|
||||
ellipsis={{ rows: 3 }}
|
||||
className="whitespace-pre-line">
|
||||
{firearm.review || "暂无描述"}
|
||||
</Typography.Paragraph>
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@ export default function ModCodesPage() {
|
||||
return (
|
||||
<>
|
||||
<div className="mb-4 flex items-center justify-between gap-4">
|
||||
<Typography.Title level={4} className="!mb-0">
|
||||
<Typography.Title level={4} className="mb-0!">
|
||||
改枪码列表
|
||||
</Typography.Title>
|
||||
{firearmId && (
|
||||
@@ -59,7 +59,7 @@ export default function ModCodesPage() {
|
||||
}}
|
||||
>
|
||||
<div className="flex flex-col gap-3">
|
||||
<Typography.Paragraph className="!mb-0" copyable={{ text: modification.code }}>
|
||||
<Typography.Paragraph className="mb-0!" copyable={{ text: modification.code }}>
|
||||
<strong>改枪码:</strong>
|
||||
{modification.code}
|
||||
</Typography.Paragraph>
|
||||
|
||||
Reference in New Issue
Block a user