Commit d79b0f12 authored by chenshouchao's avatar chenshouchao

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

parent 85ed1fbc
...@@ -68,6 +68,14 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => { ...@@ -68,6 +68,14 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
placement={placement} placement={placement}
sx={{ sx={{
zIndex: 2000, zIndex: 2000,
bgcolor: "transparent",
minWidth: "200px",
fontSize: "14px",
padding: "20px 16px",
}}
>
<Box
sx={{
bgcolor: "#fff", bgcolor: "#fff",
minWidth: "200px", minWidth: "200px",
borderRadius: "4px", borderRadius: "4px",
...@@ -106,6 +114,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => { ...@@ -106,6 +114,7 @@ const MyPopconfirm = (props: IMyPopconfirmProps) => {
isLoadingButton={true} isLoadingButton={true}
/> />
</Box> </Box>
</Box>
</Popper> </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