From 18c92d25363a8420357ab7472601a3c7317ebc6b Mon Sep 17 00:00:00 2001 From: Nikola Ubavic <53820106+ubavic@users.noreply.github.com> Date: Mon, 21 Feb 2022 12:58:42 +0100 Subject: [PATCH] fix: add bottom margin to right side panel fix: date break in transactions list --- .../src/pages/Customers/CustomerProfile.styles.js | 3 ++- .../src/pages/Customers/components/TransactionsList.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/new-lamassu-admin/src/pages/Customers/CustomerProfile.styles.js b/new-lamassu-admin/src/pages/Customers/CustomerProfile.styles.js index a486abee..4fa08597 100644 --- a/new-lamassu-admin/src/pages/Customers/CustomerProfile.styles.js +++ b/new-lamassu-admin/src/pages/Customers/CustomerProfile.styles.js @@ -31,7 +31,8 @@ export default { }, rightSidePanel: { display: 'block', - width: 1100 + width: 1100, + marginBottom: 25 }, leftSidePanel: { width: 300, diff --git a/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js b/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js index ea8d765e..881da134 100644 --- a/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js +++ b/new-lamassu-admin/src/pages/Customers/components/TransactionsList.js @@ -120,7 +120,7 @@ const TransactionsList = ({ customer, data, loading, locale }) => { { header: 'Date', width: 100, - view: it => formatDate(it.created, timezone, 'yyyy-MM-dd') + view: it => formatDate(it.created, timezone, 'yyyy‑MM‑dd') }, { header: 'Time (h:m:s)',