From e7f5b212c930de6da8f2d544a60f2830a5a7a4f1 Mon Sep 17 00:00:00 2001 From: MoulikaKulkarni Date: Fri, 29 Sep 2023 18:15:20 +0530 Subject: [PATCH 1/2] fix: dark mode alignment fixes Signed-off-by: MoulikaKulkarni --- src/components/Issuance/CredDefSelection.tsx | 3 ++- src/components/Verification/Verification.tsx | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Issuance/CredDefSelection.tsx b/src/components/Issuance/CredDefSelection.tsx index 53ebd58a1..697cd1c45 100644 --- a/src/components/Issuance/CredDefSelection.tsx +++ b/src/components/Issuance/CredDefSelection.tsx @@ -60,7 +60,8 @@ const CredDefSelection = () => { const header = [ { columnName: 'Name' }, { columnName: 'Created on' }, - { columnName: 'Revocable?' } + { columnName: 'Revocable?' }, + { columnName: '' } ] //Fetch credential definitions against schemaId diff --git a/src/components/Verification/Verification.tsx b/src/components/Verification/Verification.tsx index 213fbe8c2..c6f1d621c 100644 --- a/src/components/Verification/Verification.tsx +++ b/src/components/Verification/Verification.tsx @@ -208,8 +208,11 @@ const VerificationCred = () => { onClick={() => { window.location.href = `${pathRoutes.back.verification.verification}` }} - className='bg-secondary-700 ring-primary-700 bg-white-700 hover:bg-secondary-700 ring-2 text-black font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 m-2 ml-2 dark:text-white' - style={{ height: '2.5rem', width: '5rem', minWidth: '2rem' }} + className='bg-secondary-700 ring-primary-700 bg-white-700 hover:bg-secondary-700 + ring-2 text-black font-medium rounded-lg text-sm px-4 lg:px-5 py-2 + lg:py-2.5 mr-2 ml-auto dark:text-white dark:hover:text-black + dark:hover:bg-primary-50' + style={{ height: '2.5rem', width: '5rem', minWidth: '2rem' }} > @@ -264,7 +267,7 @@ const VerificationCred = () => { } -
+
Attribute List
Date: Fri, 29 Sep 2023 18:23:01 +0530 Subject: [PATCH 2/2] fix: dark mode fixes Signed-off-by: MoulikaKulkarni --- src/components/Issuance/CredDefSelection.tsx | 2 +- src/components/Verification/Verification.tsx | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/Issuance/CredDefSelection.tsx b/src/components/Issuance/CredDefSelection.tsx index 697cd1c45..5778e8b74 100644 --- a/src/components/Issuance/CredDefSelection.tsx +++ b/src/components/Issuance/CredDefSelection.tsx @@ -61,7 +61,7 @@ const CredDefSelection = () => { { columnName: 'Name' }, { columnName: 'Created on' }, { columnName: 'Revocable?' }, - { columnName: '' } + { columnName: ' ' } ] //Fetch credential definitions against schemaId diff --git a/src/components/Verification/Verification.tsx b/src/components/Verification/Verification.tsx index c6f1d621c..84931d348 100644 --- a/src/components/Verification/Verification.tsx +++ b/src/components/Verification/Verification.tsx @@ -208,10 +208,7 @@ const VerificationCred = () => { onClick={() => { window.location.href = `${pathRoutes.back.verification.verification}` }} - className='bg-secondary-700 ring-primary-700 bg-white-700 hover:bg-secondary-700 - ring-2 text-black font-medium rounded-lg text-sm px-4 lg:px-5 py-2 - lg:py-2.5 mr-2 ml-auto dark:text-white dark:hover:text-black - dark:hover:bg-primary-50' + className='bg-secondary-700 ring-primary-700 bg-white-700 hover:bg-secondary-700 ring-2 text-black font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 mr-2 ml-auto dark:text-white dark:hover:text-black dark:hover:bg-primary-50' style={{ height: '2.5rem', width: '5rem', minWidth: '2rem' }} >