From 1c0d09674796c485ad48335dc5f0debdd0712018 Mon Sep 17 00:00:00 2001 From: Andrei Grigore Date: Tue, 3 May 2022 12:54:44 +0300 Subject: [PATCH] Expandable table popup format changes --- .../templates/expandable/PopupRow.jsx | 71 ++++++++++--------- .../templates/expandable/style.less | 5 +- 2 files changed, 40 insertions(+), 36 deletions(-) diff --git a/src/components/manage/Blocks/SimpleDataTable/templates/expandable/PopupRow.jsx b/src/components/manage/Blocks/SimpleDataTable/templates/expandable/PopupRow.jsx index 3d48303..aeea270 100644 --- a/src/components/manage/Blocks/SimpleDataTable/templates/expandable/PopupRow.jsx +++ b/src/components/manage/Blocks/SimpleDataTable/templates/expandable/PopupRow.jsx @@ -199,12 +199,7 @@ const PopupRow = ({ > {popupSchema.title} - - {popupSchema.description && ( -
- -
- )} +
{popupSchema.logo && ( )} + {popupSchema.email && popupSchema.url && ( +
+ {popupSchema.email && ( +
+

+ Email: +

+ + {popupSchema.email} + +
+ )} + {popupSchema.url && ( +
+

+ Website: +

+ + {popupSchema.url} + +
+ )} +
+ )} +
+ + {popupSchema.description && ( +
+ +
+ )}
- {popupSchema.email && popupSchema.url && ( -
- {popupSchema.email && ( -
-

Email:

- - {popupSchema.email} - -
- )} - {popupSchema.url && ( -
-

- Website: -

- - {popupSchema.url} - -
- )} -
- )} +