Fix overlay trigger hitbox

This commit is contained in:
ekzyis 2024-03-26 22:13:17 +01:00
parent 121205fa4b
commit 8f39a229c3
1 changed files with 7 additions and 7 deletions

View File

@ -847,15 +847,15 @@ I estimate that I will call the GraphQL API this many times (rough estimate is f
}}
>Generate API key
</Button>
{apiKey &&
<DeleteIcon
style={{ cursor: 'pointer' }} className='fill-danger mx-1' width={24} height={24}
onClick={async () => {
showModal((onClose) => <ApiKeyDeleteObstacle onClose={onClose} />)
}}
/>}
</div>
</OverlayTrigger>
{apiKey &&
<DeleteIcon
style={{ cursor: 'pointer' }} className='fill-danger mx-1' width={24} height={24}
onClick={async () => {
showModal((onClose) => <ApiKeyDeleteObstacle onClose={onClose} />)
}}
/>}
<Info>
<ul className='fw-bold'>
<li>use API keys with our <Link target='_blank' href='/api/graphql'>GraphQL API</Link> for authentication</li>