mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix(global): tooltip animation
This commit is contained in:
parent
e90b9cf4d4
commit
2e0c05f474
@ -92,8 +92,8 @@ export function InteractiveMap({
|
||||
<AnimatePresence mode="wait">
|
||||
{tooltipData && (
|
||||
<m.div
|
||||
initial={{ opacity: 0, filter: "blur(10px)", scale: 0.8 }}
|
||||
animate={{ opacity: 1, filter: "blur(0px)", scale: 1 }}
|
||||
initial={{ opacity: 0, filter: "blur(10px)" }}
|
||||
animate={{ opacity: 1, filter: "blur(0px)" }}
|
||||
className="absolute pointer-events-none bg-white dark:bg-neutral-800 px-2 py-1 rounded shadow-lg text-sm dark:border dark:border-neutral-700"
|
||||
key={tooltipData.country}
|
||||
style={{
|
||||
|
Loading…
Reference in New Issue
Block a user