From f65487ca17a489fd88ecabe5c05bad0e46e4c8cd Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 31 Mar 2023 17:50:29 +0200 Subject: [PATCH] change(ui) - preferences width and alignment --- frontend/app/components/Client/Client.js | 46 +++++++++++++----------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/frontend/app/components/Client/Client.js b/frontend/app/components/Client/Client.js index ab16c6b40..6cba4b50a 100644 --- a/frontend/app/components/Client/Client.js +++ b/frontend/app/components/Client/Client.js @@ -18,41 +18,45 @@ import Roles from './Roles'; @withRouter export default class Client extends React.PureComponent { - constructor(props){ + constructor(props) { super(props); - } + } setTab = (tab) => { this.props.history.push(clientRoute(tab)); - } + }; renderActiveTab = () => ( - - - - - - - - - - + + + + + + + + + + - ) + ); render() { - const { match: { params: { activeTab } } } = this.props; + const { + match: { + params: { activeTab }, + }, + } = this.props; return ( -
-
-
+
+
-
- { activeTab && this.renderActiveTab() } +
+
+ {activeTab && this.renderActiveTab()} +
-
); }