fix: uniform card layout + remove duplicate disk + larger uptime
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 7s
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 7s
This commit is contained in:
parent
e297e2fac7
commit
73fa2b57ff
@ -25,8 +25,7 @@ function ServerCard({ server }: { server: ServerInfo }) {
|
||||
|
||||
return (
|
||||
<Card title={<Space><CloudServerOutlined />{server.name}<Tag color="blue">{server.role}</Tag></Space>} style={{ height: '100%' }}>
|
||||
<Row gutter={[8, 8]} style={{ marginBottom: 16 }}>
|
||||
<Col span={24}>
|
||||
<div style={{ marginBottom: 12, minHeight: 28 }}>
|
||||
<Space wrap size={[4, 4]}>
|
||||
<CopyTag text={server.network.publicIp} icon="🌐 " color="cyan" />
|
||||
<CopyTag text={server.network.privateIp} icon="🔒 " />
|
||||
@ -34,8 +33,7 @@ function ServerCard({ server }: { server: ServerInfo }) {
|
||||
<CopyTag key={d} text={d} icon={<GlobalOutlined style={{ marginRight: 2 }} />} color="blue" />
|
||||
))}
|
||||
</Space>
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
|
||||
<Row gutter={[16, 12]}>
|
||||
<Col xs={12} sm={6}>
|
||||
@ -60,7 +58,7 @@ function ServerCard({ server }: { server: ServerInfo }) {
|
||||
))}
|
||||
</Col>
|
||||
<Col span={24}>
|
||||
<Text type="secondary" style={{ fontSize: 11 }}>运行 {server.uptime}</Text>
|
||||
<Text style={{ fontSize: 14, fontWeight: 500 }}>🕐 {server.uptime}</Text>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user