mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-05-06 13:58:43 +00:00
fix: update styling and layout for ServerDetail components
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"configVersion": 0,
|
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
"": {
|
"": {
|
||||||
"name": "nazha-dashboard-vite",
|
"name": "nazha-dashboard-vite",
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export default function ServerDetailSummary({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
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 w-24 flex-col justify-center gap-1 px-1.5 py-1">
|
||||||
<section className="flex items-center justify-between">
|
<section className="flex items-center justify-between">
|
||||||
<span className="text-[10px] text-muted-foreground">CPU</span>
|
<span className="text-[10px] text-muted-foreground">CPU</span>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export default function ServerDetail() {
|
|||||||
<ServerDetailOverview server_id={server_id} />
|
<ServerDetailOverview server_id={server_id} />
|
||||||
<section className="flex items-center my-2 w-full">
|
<section className="flex items-center my-2 w-full">
|
||||||
<Separator className="flex-1" />
|
<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
|
<TabSwitch
|
||||||
tabs={tabs}
|
tabs={tabs}
|
||||||
currentTab={currentTab}
|
currentTab={currentTab}
|
||||||
|
|||||||
Reference in New Issue
Block a user