fix ui: integration tooltip fix

This commit is contained in:
nick-delirium 2024-05-21 15:48:40 +02:00
parent ccaa67ae7a
commit 58b0c53569
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -20,9 +20,6 @@ const IntegrationItem = (props: Props) => {
style={{ height: '136px' }}
>
<div className='flex gap-3'>
{/*{integration.icon.length ?*/}
{/* <img className='h-10 w-10' src={'/assets/' + integration.icon + '.svg'} alt='integration' /> :*/}
{/* (<span style={{ fontSize: '3rem', lineHeight: '3rem' }}>{integration.header}</span>)}*/}
<div className="shrink-0">
<img className='h-10 w-10' src={'/assets/' + integration.icon + '.svg'} alt='integration' />
</div>
@ -33,12 +30,10 @@ const IntegrationItem = (props: Props) => {
</div>
{integrated && (
<Tooltip title='Integrated' delay={0}>
<div className='ml-12 p-1 flex items-center justify-center color-tealx border rounded w-fit'>
<Icon name='check-circle-fill' size='14' color='tealx' className="mr-2" />
<span>Installed</span>
<span>Integrated</span>
</div>
</Tooltip>
)}
</div>
);