From 1316089fc96c9abe15f7f828a04df01fbb43be60 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Fri, 10 May 2024 15:28:33 +0300 Subject: [PATCH] Fix dialog positioning --- rsconcept/frontend/src/components/ui/Modal.tsx | 11 ++++++++--- rsconcept/frontend/src/dialogs/DlgShowAST.tsx | 8 +------- rsconcept/frontend/src/dialogs/DlgUploadRSForm.tsx | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/rsconcept/frontend/src/components/ui/Modal.tsx b/rsconcept/frontend/src/components/ui/Modal.tsx index 2b4aeec2..babf9958 100644 --- a/rsconcept/frontend/src/components/ui/Modal.tsx +++ b/rsconcept/frontend/src/components/ui/Modal.tsx @@ -56,12 +56,17 @@ function Modal({ }; return ( - <> +
- +
); } diff --git a/rsconcept/frontend/src/dialogs/DlgShowAST.tsx b/rsconcept/frontend/src/dialogs/DlgShowAST.tsx index 7721568e..79413fad 100644 --- a/rsconcept/frontend/src/dialogs/DlgShowAST.tsx +++ b/rsconcept/frontend/src/dialogs/DlgShowAST.tsx @@ -61,13 +61,7 @@ function DlgShowAST({ hideWindow, syntaxTree, expression }: DlgShowASTProps) {
) : null} -
+