fix: update styling and layout for ServerDetail components

This commit is contained in:
hamster1963
2026-01-07 17:31:55 +08:00
parent cc0f5c0a2e
commit af9926e774
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export default function ServerDetailSummary({
);
return (
<div className="mb-2 flex flex-wrap items-center gap-4">
<div className="mb-2 flex flex-wrap items-center gap-4 server-detail-summary">
<section className="flex w-24 flex-col justify-center gap-1 px-1.5 py-1">
<section className="flex items-center justify-between">
<span className="text-[10px] text-muted-foreground">CPU</span>
+1 -1
View File
@@ -29,7 +29,7 @@ export default function ServerDetail() {
<ServerDetailOverview server_id={server_id} />
<section className="flex items-center my-2 w-full">
<Separator className="flex-1" />
<div className="flex justify-center w-full max-w-[200px]">
<div className="flex justify-center w-full max-w-50">
<TabSwitch
tabs={tabs}
currentTab={currentTab}