From eddacdd781c0113390540147a79f71d688608593 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sat, 7 Dec 2024 21:15:05 +0800 Subject: [PATCH 1/3] fix: tooltip position --- app/(main)/ClientComponents/MapTooltip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(main)/ClientComponents/MapTooltip.tsx b/app/(main)/ClientComponents/MapTooltip.tsx index 70eace3..b77abe6 100644 --- a/app/(main)/ClientComponents/MapTooltip.tsx +++ b/app/(main)/ClientComponents/MapTooltip.tsx @@ -23,7 +23,7 @@ const MapTooltip = memo(function MapTooltip() { style={{ left: tooltipData.centroid[0], top: tooltipData.centroid[1], - transform: "translate(-50%, -50%)", + transform: "translate(10%, -50%)", }} onMouseEnter={(e) => { e.stopPropagation(); From 2fc4686d518e105bf1261f1bc98635e6afcbe19c Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sat, 7 Dec 2024 21:15:53 +0800 Subject: [PATCH 2/3] perf: use fastly cdn --- app/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 67e9f9d..6d065b3 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -60,11 +60,11 @@ export default async function LocaleLayout({ Date: Sat, 7 Dec 2024 21:16:18 +0800 Subject: [PATCH 3/3] v1.7.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c348af9..8763a20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nezha-dash", - "version": "1.7.3", + "version": "1.7.4", "private": true, "scripts": { "dev": "next dev -p 3040",