Skip to content

Commit

Permalink
fix(Popover): wrong border size on arrow (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbyIsCoding authored Dec 1, 2023
1 parent 22fbc6b commit 499c5e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/components/Popover/Popover.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.popover {
--border: 2px solid;
--border: 1px solid;

z-index: 1500;
background: var(--background);
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const Popover = forwardRef<HTMLDivElement, PopoverProps>(
width: ARROW_HEIGHT,
...(arrowX != null ? { left: arrowX } : {}),
...(arrowY != null ? { top: arrowY } : {}),
...(arrowPlacement ? { [arrowPlacement]: -6 } : {}),
...(arrowPlacement ? { [arrowPlacement]: -4.5 } : {}),
}}
/>
</Paragraph>
Expand Down

0 comments on commit 499c5e2

Please sign in to comment.