mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-30 10:53:02 +01:00
Reduce tooltip popup delay duration for Create Agent button on Web app (#926)
The problem was the tool tip was visible on hover, but it was slow, so before the tool tip popped up, the user would click on the button and this stopped the tool tip from popping up. So i reduced the popup delay to 10ms. now as soon as user hovers over the button, they will see that its a feature coming soon!
This commit is contained in:
parent
be8de1a1bd
commit
65d5e03f7f
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ export default function Agents() {
|
|||
<h1 className="text-3xl flex items-center">Agents</h1>
|
||||
<div className="ml-auto float-right border p-2 pt-3 rounded-xl font-bold hover:bg-stone-100 dark:hover:bg-neutral-900">
|
||||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
<Tooltip delayDuration={10}>
|
||||
<TooltipTrigger>
|
||||
<div className="flex flex-row">
|
||||
<Plus className="pr-2 w-6 h-6" />
|
||||
|
|
Loading…
Reference in a new issue