Compare commits

...

4 Commits

Author SHA1 Message Date
hamster1963
f4a400522a bump version to 2.5.1 2025-01-28 16:09:40 +08:00
hamster1963
bbee98b19e fix: replace paragraph with div in chart tooltip 2025-01-28 16:08:42 +08:00
hamster1963
361a0ecffd chore: deps 2025-01-28 16:07:34 +08:00
hamster1963
ac23b6a77e style: refine command dialog border and input styling 2025-01-28 16:06:17 +08:00
5 changed files with 6 additions and 9 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -90,7 +90,7 @@ export function DashCommand() {
<>
<CommandDialog open={open} onOpenChange={setOpen}>
<CommandInput placeholder={t("TypeCommand")} value={search} onValueChange={setSearch} />
<CommandList>
<CommandList className="border-t">
<CommandEmpty>{t("NoResults")}</CommandEmpty>
<CommandGroup heading={t("Servers")}>
{sortedServers.map((server) => (

View File

@ -169,7 +169,7 @@ const ChartTooltipContent = React.forwardRef<
)}
>
{!nestLabel && (
<p className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</p>
<div className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</div>
)}
<div

View File

@ -40,10 +40,7 @@ const CommandInput = React.forwardRef<
React.ElementRef<typeof CommandPrimitive.Input>,
React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
>(({ className, ...props }, ref) => (
<div
className="flex items-center border-b bg-stone-100 dark:bg-stone-900 px-3"
cmdk-input-wrapper=""
>
<div className="flex items-center bg-stone-100 dark:bg-stone-900 px-3" cmdk-input-wrapper="">
<Search className="mr-2 h-4 w-4 shrink-0 opacity-50" />
<CommandPrimitive.Input
ref={ref}

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "2.5.0",
"version": "2.5.1",
"private": true,
"scripts": {
"dev": "next dev -p 3040",
@ -50,7 +50,7 @@
"react-dom": "^19.0.0",
"react-intersection-observer": "^9.15.1",
"react-wrap-balancer": "^1.1.1",
"recharts": "^2.15.0",
"recharts": "^2.15.1",
"sharp": "^0.33.5",
"swr": "^2.3.0",
"tailwind-merge": "^2.6.0",
@ -60,7 +60,7 @@
"@biomejs/biome": "1.9.4",
"@next/bundle-analyzer": "^15.1.6",
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22.10.10",
"@types/node": "^22.12.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"postcss": "^8.5.1",