Commit d79b0f12 authored by chenshouchao's avatar chenshouchao

feat: 二次确认弹窗多包裹一层 使弹窗距离边界有最小距离

parent 85ed1fbc
......@@ -68,6 +68,14 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
placement={placement}
sx={{
zIndex: 2000,
bgcolor: "transparent",
minWidth: "200px",
fontSize: "14px",
padding: "20px 16px",
}}
>
<Box
sx={{
bgcolor: "#fff",
minWidth: "200px",
borderRadius: "4px",
......@@ -106,6 +114,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
isLoadingButton={true}
/>
</Box>
</Box>
</Popper>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment