From 45117ba1f4fe1877b76188834608cb9e0913ccc4 Mon Sep 17 00:00:00 2001 From: JanetEne Date: Sat, 9 Sep 2023 22:35:55 +0100 Subject: [PATCH] show tooltip on hover of icon and not onclick --- .../components/WebhooksTab/AddWebhookForm.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx index d7f9c0e78..10157eae7 100644 --- a/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx +++ b/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/AddWebhookForm.tsx @@ -92,7 +92,7 @@ export const AddWebhookForm = ({ icon={ setShowTip(false)} + onOpenChange={setShowTip} content={

Here are some examples of glob patterns:

@@ -115,12 +115,11 @@ export const AddWebhookForm = ({ position="right" className="text-xs" > -
- setShowTip(true)} - className="h-2 w-2" - /> +
setShowTip(true)} + > +
}