Skip to content

Commit 349b78f

Browse files
authored
Improve resource id tooltip interaction (#6687)
1 parent 8ac30e7 commit 349b78f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/chilly-bobcats-smile.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'hive': patch
3+
---
4+
5+
Improve resource ID tooltip behavior

packages/web/app/src/components/ui/resource-details.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export function ResourceDetails(props: { id: string }): ReactElement {
1111
Resource ID
1212
</div>
1313
<InputCopy value={props.id} className="rounded-l-none" />
14-
<TooltipProvider>
14+
<TooltipProvider delayDuration={0}>
1515
<Tooltip>
1616
<TooltipTrigger>
17-
<InfoCircledIcon className="ml-2 size-4" />
17+
<InfoCircledIcon className="ml-2 size-4 cursor-default" />
1818
</TooltipTrigger>
1919
<TooltipContent className="max-w-sm text-pretty">
2020
This UUID can be used in API calls or CLI commands to Hive instead of passing the full

0 commit comments

Comments
 (0)