mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: tooltip position
This commit is contained in:
parent
39145adeb4
commit
eddacdd781
@ -23,7 +23,7 @@ const MapTooltip = memo(function MapTooltip() {
|
|||||||
style={{
|
style={{
|
||||||
left: tooltipData.centroid[0],
|
left: tooltipData.centroid[0],
|
||||||
top: tooltipData.centroid[1],
|
top: tooltipData.centroid[1],
|
||||||
transform: "translate(-50%, -50%)",
|
transform: "translate(10%, -50%)",
|
||||||
}}
|
}}
|
||||||
onMouseEnter={(e) => {
|
onMouseEnter={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
Loading…
Reference in New Issue
Block a user