From 8275d3d395ba52e73588799fc35b9c47483c44ca Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Sun, 2 May 2021 22:28:05 +0200 Subject: [PATCH] feat: optimize style of account drawer. --- .../AccountDrawer/AccountDrawerActionBar.js | 6 +- .../AccountDrawer/AccountDrawerContent.js | 5 +- .../AccountDrawer/AccountDrawerHeader.js | 25 ++++--- .../AccountDrawer/AccountDrawerProvider.js | 7 +- .../AccountDrawer/AccountDrawerTable.js | 28 ++++++- .../containers/Drawers/AccountDrawer/index.js | 6 +- .../Drawers/ManualJournalDrawer/index.js | 2 +- client/src/style/App.scss | 5 ++ .../components/Drawer/AccountDrawer.scss | 75 +++++++++++++++---- server/src/api/controllers/Accounts.ts | 4 +- .../src/services/Accounts/AccountsService.ts | 37 ++++++++- 11 files changed, 156 insertions(+), 44 deletions(-) diff --git a/client/src/containers/Drawers/AccountDrawer/AccountDrawerActionBar.js b/client/src/containers/Drawers/AccountDrawer/AccountDrawerActionBar.js index 7df7f3ade..50b2f9b1e 100644 --- a/client/src/containers/Drawers/AccountDrawer/AccountDrawerActionBar.js +++ b/client/src/containers/Drawers/AccountDrawer/AccountDrawerActionBar.js @@ -28,8 +28,6 @@ function AccountDrawerActionBar({ // #ownProps account, }) { - - // Handle new child button click. const onNewChildAccount = () => { openDialog('account-form', { @@ -69,9 +67,9 @@ function AccountDrawerActionBar({ />