Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Update hover to group so tooltip is hoverable for click (#72)
Browse files Browse the repository at this point in the history
Co-authored-by: Rodrigo Arze Leon <[email protected]>
  • Loading branch information
Rodri77 and Rodrigo Arze Leon authored Oct 29, 2024
1 parent 14ffebb commit 91ef554
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/engine-frontend/hocs/WithConnectorConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const WithConnectorConnect = ({
if (err === CANCELLATION_TOKEN) {
return
}
console.log(ccfg.connector.displayName + ' connection error:',err)
console.log(ccfg.connector.displayName + ' connection error:', err)
toast({
title: `Failed to connect to ${ccfg.connector.displayName}`,
// description: `${err}`,
Expand Down Expand Up @@ -204,9 +204,10 @@ export const WithConnectorConnect = ({
Connect to {ccfg.connector.displayName}
</span>
{ccfg.connector.name === 'greenhouse' && (
<div className="relative inline-block">
<InfoIcon className="h-5 w-5 cursor-help text-gray-500 peer" />
<div className="absolute bottom-full left-1/2 mb-2 w-64 -translate-x-1/2 rounded-md bg-[#272731] p-2 text-sm text-white opacity-0 transition-opacity peer-hover:opacity-100 pointer-events-none">
<div className="group relative inline-block">
<InfoIcon className="h-5 w-5 cursor-help text-gray-500" />
<div className="invisible absolute bottom-full left-1/2 mb-2 w-64 -translate-x-1/2 rounded-md bg-[#272731] p-2 text-sm text-white opacity-0 transition-opacity group-hover:visible group-hover:opacity-100">
<div className="absolute bottom-[-8px] left-0 h-2 w-full" />
<p className="italic">
Generate a custom API key with{' '}
<a
Expand Down

1 comment on commit 91ef554

@vercel
Copy link

@vercel vercel bot commented on 91ef554 Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.