From fcdcb10f7039605d20dddac681d094704ce8ec29 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Fri, 25 Jul 2025 12:54:02 +0530 Subject: [PATCH] UI Alignment and Icon Styling Issue in Contact Card Design in Directory. --- .../Directory/ProfileContactDirectory.jsx | 48 ++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/src/components/Directory/ProfileContactDirectory.jsx b/src/components/Directory/ProfileContactDirectory.jsx index 62ca077f..7aed18d1 100644 --- a/src/components/Directory/ProfileContactDirectory.jsx +++ b/src/components/Directory/ProfileContactDirectory.jsx @@ -55,6 +55,9 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {
{contactProfile?.contactEmails?.length > 0 && (
+
+ +

Email :

Email :

@@ -67,6 +70,10 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { {email.emailAddress} { {contactProfile?.contactPhones?.length > 0 && (
-
+

Phone :

    - {contactProfile.contactPhones.map((phone, idx) => ( -
  • + {contactProfile?.contactPhones.map((phone, idx) => ( +
  • {phone.phoneNumber} {idx < contactProfile.contactPhones.length - 1 && ","}
  • @@ -107,6 +111,9 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { {contactProfile?.createdAt && (
    +
    + +

    Created :

    Created :

    @@ -120,6 +127,9 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { )} {contactProfile?.address && (
    +
    + +

    Location :

    Location :

    @@ -136,6 +146,9 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {
    {contactProfile?.organization && (
    +
    + +

    Organization :

    Organization :

    @@ -149,6 +162,9 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { )} {contactProfile?.contactCategory && (
    +
    + +

    Category :

    Category :

    @@ -162,8 +178,12 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {
    )} + {contactProfile?.tags?.length > 0 && ( {contactProfile?.tags?.length > 0 && (
    +
    + +

    Tags :

    Tags :

    @@ -181,9 +201,14 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { )} {contactProfile?.buckets?.length > 0 && ( +
    {contactProfile?.contactEmails?.length > 0 && (
    +
    +

    + Buckets : +

    Buckets : @@ -205,10 +230,15 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {

    )} +
    {contactProfile?.projects?.length > 0 && (
    +
    +

    + Projects : +

    Projects : @@ -228,7 +258,12 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { )} +

    +
    +

    + Description : +

    Description : @@ -248,6 +283,7 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {

    +