Compare commits

..

No commits in common. "848cf32b73b1a0774710c23442ce14564e6636dc" and "6844bea7be801d4073af9c1faf7f726d507770a2" have entirely different histories.

6 changed files with 4 additions and 8 deletions

View File

@ -6,7 +6,7 @@
> [!CAUTION]
> 此为 V0 兼容版本V1 版本 issue 也可提出
>
>
> 有关 V1 版本 pr 可移步 https://github.com/hamster1963/nezha-dash-react
### 部署

View File

@ -128,7 +128,7 @@ export const NetworkChart = React.memo(function NetworkChart({
<button
key={key}
data-active={activeChart === key}
className={`relative z-30 flex cursor-pointer grow basis-0 min-w-[100px] flex-col justify-center gap-1 border-b border-neutral-200 dark:border-neutral-800 px-6 py-4 text-left data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-6`}
className={`relative z-30 flex cursor-pointer flex-1 flex-col justify-center gap-1 border-b border-neutral-200 dark:border-neutral-800 px-6 py-4 text-left data-[active=true]:bg-muted/50 sm:border-l sm:border-t-0 sm:px-6`}
onClick={() => handleButtonClick(key)}
>
<span className="whitespace-nowrap text-xs text-muted-foreground">
@ -180,7 +180,7 @@ export const NetworkChart = React.memo(function NetworkChart({
{chartDataKey.length} {t("ServerMonitorCount")}
</CardDescription>
</div>
<div className="flex flex-wrap w-full">{chartButtons}</div>
<div className="flex flex-wrap">{chartButtons}</div>
</CardHeader>
<CardContent className="pr-2 pl-0 py-4 sm:pt-6 sm:pb-6 sm:pr-6 sm:pl-2">
<ChartContainer

View File

@ -5,8 +5,6 @@ import { Suspense } from "react";
import ServerGlobal from "./ClientComponents/Global";
import GlobalLoading from "./ClientComponents/GlobalLoading";
export const runtime = "edge";
export default async function Home({
searchParams,
}: {

View File

@ -4,8 +4,6 @@ import Link from "next/link";
import Footer from "./(main)/footer";
import Header from "./(main)/header";
export const runtime = "edge";
export default function NotFoundPage() {
const t = useTranslations("NotFoundPage");
return (

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.6.4",
"version": "1.6.3",
"private": true,
"scripts": {
"dev": "next dev -p 3040",