mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-28 17:33:04 +00:00
fix(ui): Fix overlapping Modals (#14964)
This commit is contained in:
parent
06aebfe86f
commit
be7cc44670
@ -40,7 +40,14 @@ export const AddImageButton = () => {
|
|||||||
commandName="insertImage"
|
commandName="insertImage"
|
||||||
onClick={handleButtonClick}
|
onClick={handleButtonClick}
|
||||||
/>
|
/>
|
||||||
<Modal title="Add Image" visible={isModalVisible} okText="Save" onOk={handleOk} onCancel={handleCancel}>
|
<Modal
|
||||||
|
title="Add Image"
|
||||||
|
open={isModalVisible}
|
||||||
|
okText="Save"
|
||||||
|
onOk={handleOk}
|
||||||
|
onCancel={handleCancel}
|
||||||
|
zIndex={1200}
|
||||||
|
>
|
||||||
<Form form={form} layout="vertical" colon={false} requiredMark={false}>
|
<Form form={form} layout="vertical" colon={false} requiredMark={false}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="src"
|
name="src"
|
||||||
|
|||||||
@ -58,7 +58,7 @@ export const LinkModal = (props: LinkModalProps) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal title="Add Link" okText="Save" onCancel={handleClose} onOk={handleOk} visible={visible}>
|
<Modal title="Add Link" okText="Save" onCancel={handleClose} zIndex={1200} onOk={handleOk} open={visible}>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
layout="vertical"
|
layout="vertical"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user