mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-27 08:54:32 +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"
|
||||
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.Item
|
||||
name="src"
|
||||
|
||||
@ -58,7 +58,7 @@ export const LinkModal = (props: LinkModalProps) => {
|
||||
};
|
||||
|
||||
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}
|
||||
layout="vertical"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user