Compare commits

..

No commits in common. "10c0a450f9b9f80539842e4fdc63f89253204490" and "2c3057cbef8ecf2738905f50b33073d231d71b66" have entirely different histories.

3 changed files with 8 additions and 11 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -12,8 +12,6 @@ import { cn, formatBytes, formatNezhaInfo } from "@/lib/utils";
import { useTranslations } from "next-intl";
import Link from "next/link";
import { Separator } from "./ui/separator";
export default function ServerCardInline({
serverInfo,
}: {
@ -37,7 +35,7 @@ export default function ServerCardInline({
)}
>
<section
className={cn("grid items-center gap-2 lg:w-36")}
className={cn("grid items-center gap-2 w-40")}
style={{ gridTemplateColumns: "auto auto 1fr" }}
>
<span className="h-2 w-2 shrink-0 rounded-full bg-green-500 self-center"></span>
@ -49,7 +47,7 @@ export default function ServerCardInline({
>
{showFlag ? <ServerFlag country_code={country_code} /> : null}
</div>
<div className="relative w-28">
<div className="relative">
<p
className={cn(
"break-all font-bold tracking-tight",
@ -60,7 +58,6 @@ export default function ServerCardInline({
</p>
</div>
</section>
<Separator orientation="vertical" className="h-8 mx-0 ml-2" />
<div className="flex flex-col gap-2">
<section className={cn("grid grid-cols-9 items-center gap-3 flex-1")}>
<div
@ -164,7 +161,7 @@ export default function ServerCardInline({
>
{showFlag ? <ServerFlag country_code={country_code} /> : null}
</div>
<div className="relative w-28">
<div className="relative">
<p
className={cn(
"break-all font-bold tracking-tight",

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.7.1",
"version": "1.7.0",
"private": true,
"scripts": {
"dev": "next dev -p 3040",
@ -37,11 +37,11 @@
"framer-motion": "^12.0.0-alpha.2",
"lucide-react": "^0.454.0",
"luxon": "^3.5.0",
"next": "^15.0.4",
"next": "^15.0.3",
"next-auth": "^5.0.0-beta.25",
"next-intl": "^3.25.3",
"next-runtime-env": "^3.2.2",
"next-themes": "^0.4.4",
"next-themes": "^0.4.3",
"react": "19.0.0-rc-02c0e824-20241028",
"react-device-detect": "^2.2.3",
"react-dom": "19.0.0-rc-02c0e824-20241028",
@ -55,13 +55,13 @@
"typescript-eslint": "^8.17.0"
},
"devDependencies": {
"@next/bundle-analyzer": "^15.0.4",
"@next/bundle-analyzer": "^15.0.3",
"@tailwindcss/postcss": "^4.0.0-beta.5",
"@types/node": "^22.10.1",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^9.16.0",
"eslint-config-next": "^15.0.4",
"eslint-config-next": "^15.0.3",
"eslint-plugin-turbo": "^2.3.3",
"eslint-plugin-unused-imports": "^4.1.4",
"postcss": "^8.4.49",