From 35754a59c718bf9417f53adf8177943e30e1c816 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Sun, 27 Aug 2023 16:35:17 +0300 Subject: [PATCH] Minor UI fixes --- .../frontend/src/components/Common/Dropdown.tsx | 4 ++-- .../src/components/Navigation/Navigation.tsx | 4 ++-- .../src/components/Navigation/UserDropdown.tsx | 14 ++++++++++---- .../src/components/Navigation/UserMenu.tsx | 2 +- rsconcept/frontend/src/context/RSFormContext.tsx | 6 +++--- .../frontend/src/hooks/useCheckExpression.ts | 2 +- rsconcept/frontend/src/hooks/useDropdown.ts | 6 +++--- rsconcept/frontend/src/hooks/useRSFormDetails.ts | 5 ++++- rsconcept/frontend/src/hooks/useResolveText.ts | 4 ++-- .../src/pages/LibraryPage/PickerStrategy.tsx | 6 ++++++ rsconcept/frontend/src/pages/LoginPage.tsx | 6 +++--- .../src/pages/RSFormPage/DlgCloneRSForm.tsx | 8 ++++---- .../src/pages/RSFormPage/DlgCreateCst.tsx | 15 +++++---------- .../src/pages/RSFormPage/DlgRenameCst.tsx | 12 ++++++------ .../src/pages/RSFormPage/DlgUploadRSForm.tsx | 4 ++-- .../src/pages/RSFormPage/EditorConstituenta.tsx | 16 +++++++++------- .../src/pages/RSFormPage/EditorItems.tsx | 9 ++++++--- .../src/pages/RSFormPage/EditorTermGraph.tsx | 4 ++-- .../frontend/src/pages/RSFormPage/RSTabs.tsx | 4 +++- .../pages/RSFormPage/elements/RSLocalButton.tsx | 2 +- .../pages/RSFormPage/elements/RSTokenButton.tsx | 2 +- rsconcept/frontend/src/pages/RegisterPage.tsx | 12 ++++++------ 22 files changed, 82 insertions(+), 65 deletions(-) diff --git a/rsconcept/frontend/src/components/Common/Dropdown.tsx b/rsconcept/frontend/src/components/Common/Dropdown.tsx index 0f1f39b0..af7b538c 100644 --- a/rsconcept/frontend/src/components/Common/Dropdown.tsx +++ b/rsconcept/frontend/src/components/Common/Dropdown.tsx @@ -6,8 +6,8 @@ interface DropdownProps { function Dropdown({ children, widthClass = 'w-fit', stretchLeft }: DropdownProps) { return ( -