From 5cce2cd7c4bd454c4d1da6c2f347dd213edd7965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Thu, 3 Nov 2022 11:06:34 +0800 Subject: [PATCH] chore: adjust Popover PurePanel style pos --- components/popover/PurePanel.tsx | 12 +++++++++++- components/tour/PurePanel.tsx | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/components/popover/PurePanel.tsx b/components/popover/PurePanel.tsx index e84891e127..3e1283e460 100644 --- a/components/popover/PurePanel.tsx +++ b/components/popover/PurePanel.tsx @@ -26,7 +26,16 @@ export interface PurePanelProps extends Omit { } export function RawPurePanel(props: any) { - const { hashId, prefixCls, className, placement = 'top', title, content, children } = props; + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children, + } = props; return (
{children || getOverlay(prefixCls, title, content)} diff --git a/components/tour/PurePanel.tsx b/components/tour/PurePanel.tsx index 045d384a0a..7024207783 100644 --- a/components/tour/PurePanel.tsx +++ b/components/tour/PurePanel.tsx @@ -38,7 +38,7 @@ export default function PurePanel(props: PurePanelProps) { {node}