调整布局

This commit is contained in:
wood chen 2025-03-10 16:48:02 +08:00
parent 7b5495997f
commit 74e10d33af
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
</section> </section>
{/* 服务器详细信息标签和 PlanInfo */} {/* 服务器详细信息标签和 PlanInfo */}
<section className="flex items-center gap-1.5 w-full mt-1"> <section className="flex flex-wrap items-center gap-1.5 w-full mt-1">
{showServerDetails && ( {showServerDetails && (
<> <>
{cpu_info && cpu_info.length > 0 && ( {cpu_info && cpu_info.length > 0 && (

View File

@ -138,7 +138,7 @@ export default function ServerCardInline({ now, serverInfo }: { now: number; ser
</section> </section>
{/* 服务器详细信息标签和 PlanInfo */} {/* 服务器详细信息标签和 PlanInfo */}
<section className="flex items-center gap-1.5 w-full mt-1"> <section className="flex flex-wrap items-center gap-1.5 w-full mt-1">
{showServerDetails && ( {showServerDetails && (
<> <>
{cpu_info && cpu_info.length > 0 && ( {cpu_info && cpu_info.length > 0 && (