Skip to content

Commit c9b98b6

Browse files
authored
Dynamically adjust the method name area in the flame graph tooltip (#6026)
1 parent fa6a010 commit c9b98b6

File tree

1 file changed

+2
-2
lines changed
  • ui/packages/shared/profile/src/GraphTooltipArrow

1 file changed

+2
-2
lines changed

ui/packages/shared/profile/src/GraphTooltipArrow/Content.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ const GraphTooltipArrowContent = ({
7777
return (
7878
<div className={`flex text-sm ${isFixed ? 'w-full' : ''}`}>
7979
<div className={`m-auto w-full ${isFixed ? 'w-full' : ''}`}>
80-
<div className="min-h-52 flex w-[500px] flex-col justify-between rounded-lg border border-gray-300 bg-gray-50 p-3 shadow-lg dark:border-gray-500 dark:bg-gray-900">
80+
<div className="flex w-auto max-w-[600px] min-w-[300px] flex-col justify-start rounded-lg border border-gray-300 bg-gray-50 p-3 shadow-lg dark:border-gray-500 dark:bg-gray-900">
8181
<div className="flex flex-row">
8282
<div className="mx-2">
83-
<div className="flex h-10 items-start justify-between gap-4 break-all font-semibold">
83+
<div className="flex min-h-10 items-start justify-between gap-4 break-all font-semibold mb-2">
8484
{row === 0 ? (
8585
<p>root</p>
8686
) : (

0 commit comments

Comments
 (0)