Skip to content

Commit 886bebd

Browse files
authored
Remove default border from MapPopup container styling and bump amapcn to v0.2.0 (#17)
1 parent 1efe348 commit 886bebd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

map/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "amapcn",
3-
"version": "0.1.2",
3+
"version": "0.2.0",
44
"description": "An AMap (高德地图)-powered map component library for React, styled with Tailwind CSS.",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -56,4 +56,4 @@
5656
"shadcn"
5757
],
5858
"homepage": "https://map.ling.pub"
59-
}
59+
}

map/src/map.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ function MapPopup({
699699
return createPortal(
700700
<div
701701
className={cn(
702-
"relative rounded-md border bg-popover p-3 text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95",
702+
"relative rounded-md bg-popover p-3 text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95",
703703
className
704704
)}
705705
>

0 commit comments

Comments
 (0)