From 15bc9cd8a022decdadd3366c476b23479e07bce8 Mon Sep 17 00:00:00 2001 From: Mihoub Debache Date: Fri, 27 Oct 2023 10:26:48 +0200 Subject: [PATCH] fix(structure-card): add title and ul in modal structure card --- .../directory-blocs/structure-card.js | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/client/src/components/directory-blocs/structure-card.js b/client/src/components/directory-blocs/structure-card.js index cb8a969..a420a69 100644 --- a/client/src/components/directory-blocs/structure-card.js +++ b/client/src/components/directory-blocs/structure-card.js @@ -15,23 +15,29 @@ function AddressCard({ address, displayName }) {
- - {displayName} - -
- {address.address && {address.address}} - {' - '} - {address.city && {address.city}} -
-
- {address.phonenumber && ( - - - {address.phonenumber} +
    +
  • + + + {displayName} - )} -
+
+ {address.address && {address.address}} +
+ {address.city && {address.city}} +
+
+ {address.phonenumber && ( + + + {address.phonenumber} + + + )} +
+ +