8000 fix:Verification popup by MoulikaKulkarni · Pull Request #374 · credebl/studio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix:Verification popup #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8000
Merged
merged 2 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/Verification/AttributesListData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ interface AttributesListProps {
<Card >
<div className="flex h-full flex-col justify-center gap-0 sm:p-0">
<div className="flex border-b">
<div className="w-5/12 font-semibold flex justify-start truncate md:pl-1 sm:mr-8 md:mr-0 text-primary-700 dark:bg-gray-800 text-xl">
<div className="w-5/12 font-semibold flex truncate md:pl-1 sm:mr-8 md:mr-0 text-primary-700 dark:bg-gray-800 text-xl">
Attributes
</div>
<div className="w-1/12 font-semibold flex justify-start truncate md:pl-1 sm:mr-8 md:mr-0 text-primary-700 dark:bg-gray-800 text-xl">
</div>
<div className="w-6/12 font-semibold flex justify-start truncate sm:pl-4 text-primary-700 dark:bg-gray-800 text-xl">
<div className="w-6/12 font-semibold flex truncate sm:pl-4 text-primary-700 dark:bg-gray-800 text-xl">
{' '}
Values
</div>
Expand All @@ -25,18 +25,18 @@ interface AttributesListProps {
attributeDataList?.map((item, index) => (
<div
key={item?.entity + 1}
className="flex justify-start w-full"
className="flex w-full"
>
<div
className={`flex w-full text-lg`}
>
<div className="w-5/12 m-1 p-1 flex justify-start items-center text-gray-700 dark:text-white text-lg">
<div className="w-5/12 m-1 p-1 text-start text-gray-700 dark:text-white text-lg">
{item?.entity}
</div>
<div className="w-1/12 m-1 p-1 flex items-center text-gray-700 dark:text-white text-lg">
:
</div>
<div className="w-6/12 m-1 truncate p-1 flex flex-start items-center text-gray-700 dark:text-white text-lg">
<div className="w-6/12 m-1 truncate p-1 flex justify-start text-gray-700 dark:text-white text-lg">
{item?.properties.join(', ')}
</div>
</div>
Expand Down
30 changes: 20 additions & 10 deletions src/components/Verification/SchemaCredDefDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => {
{schemaCredDefList.map((item) => (
<div key={Object.values(item)[2]} className="flex justify-start ml-2 w-full mt-6">
<div className="w-full">
<div className="flex flex-start mb-2 w-full ">
<div className=" w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 flex justify-start items-center">
Schema Id
</div>
<div className=" flex items-center p-1 m-1 ">:</div>{' '}
<div className="w-9/12 m-1 flex justify-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto"
>
{Object.values(item)[2]}

{Object.values(item)[2] ? (
<div className="flex flex-start mb-2 w-full ">
<div className="w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 text-start">
{Object.values(item)[2] ? 'Schema Id' : ''}
</div>{' '}
<div className=" p-1 m-1">
{' '}
:
</div>{' '}
<div className="w-9/12 m-1 text-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto">
{Object.values(item)[2]
? Object.values(item)[2]
: ''}
</div>
</div>
</div>
) : (
''
)}

{Object.values(item)[1] ? (
<div className="flex flex-start mb-2 w-full ">
<div className="w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 flex justify-start items-center">
Expand All @@ -29,7 +39,7 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => {
{' '}
:
</div>{' '}
<div className="w-9/12 m-1 flex justify-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto">
<div className="w-9/12 m-1 text-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto">
{Object.values(item)[1]
? Object.values(item)[1]
: ''}
Expand Down
0