Skip to content

Commit

Permalink
fix(popover): move arrow to StyedBase to prevent line-height override
Browse files Browse the repository at this point in the history
  • Loading branch information
richbachman committed Jul 8, 2020
1 parent 345f3dd commit b549721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/paste-core/components/popover/src/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ const Popover = React.forwardRef<HTMLDivElement, PopoverProps>(({children, ...pr
const popover = React.useContext(PopoverContext);
return (
<NonModalDialogPrimitive {...(popover as any)} {...props} as={StyledPopover} ref={ref}>
<PopoverArrow {...(popover as any)} />
{/* import Paste Theme Based Styles due to portal positioning. */}
<StyledBase>
<PopoverArrow {...(popover as any)} />
<Box padding="space50" paddingLeft="space70" paddingRight="space70">
{children}
<Absolute preset="top_right" top={8} right={8}>
Expand Down

1 comment on commit b549721

@vercel
Copy link

@vercel vercel bot commented on b549721 Jul 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.