mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: analytics dialog close on outside click (#3987)
This commit is contained in:
parent
293854fb3a
commit
6a245e121a
@ -36,7 +36,8 @@ export const ProjectAnalyticsModal: React.FC<Props> = observer((props) => {
|
||||
leaveFrom="translate-x-0"
|
||||
leaveTo="translate-x-full"
|
||||
>
|
||||
<Dialog.Panel className="fixed inset-0 z-20 h-full w-full overflow-y-auto">
|
||||
<div className="fixed inset-0 z-20 h-full w-full overflow-y-auto">
|
||||
<Dialog.Panel>
|
||||
<div
|
||||
className={`fixed right-0 top-0 z-20 h-full bg-custom-background-100 shadow-custom-shadow-md ${
|
||||
fullScreen ? "w-full p-2" : "w-full sm:w-full md:w-1/2"
|
||||
@ -62,6 +63,7 @@ export const ProjectAnalyticsModal: React.FC<Props> = observer((props) => {
|
||||
</div>
|
||||
</div>
|
||||
</Dialog.Panel>
|
||||
</div>
|
||||
</Transition.Child>
|
||||
</Dialog>
|
||||
</Transition.Root>
|
||||
|
Loading…
Reference in New Issue
Block a user