Skip to content

Commit 365ce8c

Browse files
authored
Merge pull request #511 from weilirs/fix-overlap
fix: modal be on the top
2 parents bfcf00b + 372df0e commit 365ce8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Common/Modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const ReorModal: React.FC<ModalProps> = ({
3939
const modalContent = (
4040
<div
4141
className={`fixed inset-0 flex h-screen w-screen items-center justify-center bg-black/40 ${tailwindStylesOnBackground}`}
42+
style={{ zIndex: 9999 }}
4243
>
4344
<div
4445
ref={modalRef}

src/components/Settings/InitialSettingsSinglePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const InitialSetupSinglePage: React.FC<OldInitialSettingsProps> = ({ readyForInd
2929
return (
3030
<ReorModal isOpen onClose={onClose || (() => {})} hideCloseButton={!onClose}>
3131
<div className="ml-2 mr-4 w-[620px] py-3">
32-
<div className="ml-2 mt-0 h-[450px] ">
32+
<div className="ml-2 mt-0 h-[450px]">
3333
<h2 className="mb-0 text-center text-2xl font-semibold text-white">Welcome to the Reor Project</h2>
3434
<p className="mt-2 text-center text-gray-100">
3535
Reor is a private AI personal knowledge management tool. Each note will be saved as a markdown file to a

0 commit comments

Comments
 (0)