From c0a5db67406660319927f0acb2463c2fe3f21afd Mon Sep 17 00:00:00 2001 From: MoulikaKulkarni Date: Tue, 26 Sep 2023 16:06:27 +0530 Subject: [PATCH] fix: dark mode fixes Signed-off-by: MoulikaKulkarni --- src/components/Verification/AttributesListData.tsx | 6 +++--- src/components/Verification/ProofRequestPopup.tsx | 4 ++-- src/components/Verification/SchemaCredDefDetails.tsx | 5 +++-- src/components/organization/users/EditUserRolesModal.tsx | 5 +++-- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/Verification/AttributesListData.tsx b/src/components/Verification/AttributesListData.tsx index 635fa1b96..7ed9ee086 100644 --- a/src/components/Verification/AttributesListData.tsx +++ b/src/components/Verification/AttributesListData.tsx @@ -30,13 +30,13 @@ interface AttributesListProps {
-
+
{item?.entity}
-
+
:
-
+
{item?.properties.join(', ')}
diff --git a/src/components/Verification/ProofRequestPopup.tsx b/src/components/Verification/ProofRequestPopup.tsx index f89220a28..8ed725d20 100644 --- a/src/components/Verification/ProofRequestPopup.tsx +++ b/src/components/Verification/ProofRequestPopup.tsx @@ -102,7 +102,7 @@ const ProofRequest = (props: {
) : (
-
+
@@ -178,7 +178,7 @@ const ProofRequest = (props: { Close modal
-

+

Verified Details

{!props.userData ? ( diff --git a/src/components/Verification/SchemaCredDefDetails.tsx b/src/components/Verification/SchemaCredDefDetails.tsx index 15c08b10e..888912fe3 100644 --- a/src/components/Verification/SchemaCredDefDetails.tsx +++ b/src/components/Verification/SchemaCredDefDetails.tsx @@ -15,7 +15,8 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => { Schema Id
:
{' '} -
+
{Object.values(item)[2]}
@@ -28,7 +29,7 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => { {' '} :
{' '} -
+
{Object.values(item)[1] ? Object.values(item)[1].slice(0, 36) : ''} diff --git a/src/components/organization/users/EditUserRolesModal.tsx b/src/components/organization/users/EditUserRolesModal.tsx index e4be018ac..af813a2ff 100644 --- a/src/components/organization/users/EditUserRolesModal.tsx +++ b/src/components/organization/users/EditUserRolesModal.tsx @@ -142,7 +142,7 @@ const EditUserRoleModal = (props: { openModal: boolean; user: User; setMessage:
@@ -182,8 +182,9 @@ const EditUserRoleModal = (props: { openModal: boolean; user: User; setMessage: disabled={role.disabled} checked={role.checked} onChange={(event: any) => onRoleChanged(event, role.id)} + className={`mr-2 ${role.disabled ? 'text-gray-500' : ''}`} /> - {TextTittlecase(role.name)} + {TextTittlecase(role.name)}
))