From a38cca9c0d4b447d8ba172d7175b08449c784824 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:33:42 +0300 Subject: [PATCH] UI fixes --- .../frontend/src/components/Common/Button.tsx | 4 +++- .../src/pages/RSFormPage/EditorConstituenta.tsx | 4 ++-- .../frontend/src/pages/RSFormPage/RSTabsMenu.tsx | 5 ++++- .../pages/RSFormPage/elements/RSFormStats.tsx | 9 ++++----- .../RSFormPage/elements/ViewSideConstituents.tsx | 16 ++++------------ 5 files changed, 17 insertions(+), 21 deletions(-) diff --git a/rsconcept/frontend/src/components/Common/Button.tsx b/rsconcept/frontend/src/components/Common/Button.tsx index 90d5b03f..0e2f9524 100644 --- a/rsconcept/frontend/src/components/Common/Button.tsx +++ b/rsconcept/frontend/src/components/Common/Button.tsx @@ -13,7 +13,9 @@ extends Omit, 'className' | 'child function Button({ id, text, icon, tooltip, dense, disabled, - borderClass = 'border rounded', colorClass = 'clr-btn-default', widthClass = 'w-fit h-fit', + borderClass = 'border rounded', + colorClass = 'clr-btn-default', + widthClass = 'w-fit h-fit', loading, onClick, ...props }: ButtonProps) { diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx index 575930f9..c68f6a95 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx @@ -109,8 +109,8 @@ function EditorConstituenta({ activeID, onShowAST, onCreateCst, onOpenEdit, onDe } return ( -
-
+
+