Skip to content

Commit 5f9fa8d

Browse files
committed
wip
1 parent f413c51 commit 5f9fa8d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/components/Popups/SelectCredentials.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FaShare } from 'react-icons/fa';
44
import { useTranslation } from 'react-i18next';
55
import { useApi } from '../../api';
66
import { CredentialImage } from '../Credentials/CredentialImage';
7-
7+
import CredentialInfo from '../Credentials/CredentialInfo';
88

99
function SelectCredentials({ showPopup, setShowPopup, setSelectionMap, conformantCredentialsMap, verifierDomainName }) {
1010
const api = useApi();
@@ -131,9 +131,16 @@ function SelectCredentials({ showPopup, setShowPopup, setSelectionMap, conforman
131131
<div className='flex flex-wrap justify-center flex overflow-y-auto max-h-[40vh]'>
132132
{images.map(image => (
133133
<div className="m-3 flex justify-center">
134-
<div className="relative rounded-xl w-2/3 overflow-hidden transition-shadow shadow-md hover:shadow-lg cursor-pointer">
135-
<CredentialImage key={image.credentialIdentifier} credential={image.credential} onClick={() => handleClick(image.credentialIdentifier)} className={"w-full object-cover rounded-xl"} />
134+
<div className='w-1/2'>
135+
<div className="relative rounded-xl w-full overflow-hidden transition-shadow shadow-md hover:shadow-lg cursor-pointer">
136+
<CredentialImage key={image.credentialIdentifier} credential={image.credential} onClick={() => handleClick(image.credentialIdentifier)} className={"w-full object-cover rounded-xl"} />
137+
</div>
138+
</div>
139+
<div className='w-1/2'>
140+
<CredentialInfo credential={image} />
136141
</div>
142+
143+
137144
</div>
138145
))}
139146
</div>

0 commit comments

Comments
 (0)