Skip to content

Commit 6508c89

Browse files
authored
fix(dashboards): fix tooltip in certain fields not aligned to cell text (#96656)
### Changes [Merged a PR](#96323) a few days ago that fixed the vertical alignment the cells, but it messed up the alignment of the tooltip. This is to fix that while still persisting the fix for the vertical alignment ### Before <img width="324" height="145" alt="Screenshot 2025-07-29 at 11 48 08 AM" src="https://github.com/user-attachments/assets/b6e1e080-90b1-4244-a4e3-9f8bfaf91e16" /> ### After <img width="356" height="137" alt="Screenshot 2025-07-29 at 11 48 19 AM" src="https://github.com/user-attachments/assets/ee2c5cc3-2b24-4090-a918-112f9e9bd322" />
1 parent d7c6111 commit 6508c89

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

static/app/views/dashboards/datasetConfig/errorsAndTransactions.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,11 @@ export function renderEventIdAsLinkable(
378378
});
379379

380380
return (
381-
<StyledTooltip title={t('View Event')}>
382-
<Link data-test-id="view-event" to={target}>
381+
<Link data-test-id="view-event" to={target}>
382+
<StyledTooltip title={t('View Event')}>
383383
<Container>{getShortEventId(id)}</Container>
384-
</Link>
385-
</StyledTooltip>
384+
</StyledTooltip>
385+
</Link>
386386
);
387387
}
388388

@@ -415,11 +415,11 @@ export function renderTraceAsLinkable(widget?: Widget) {
415415
});
416416

417417
return (
418-
<StyledTooltip title={t('View Trace')}>
419-
<Link data-test-id="view-trace" to={target}>
418+
<Link data-test-id="view-trace" to={target}>
419+
<StyledTooltip title={t('View Trace')}>
420420
<Container>{getShortEventId(id)}</Container>
421-
</Link>
422-
</StyledTooltip>
421+
</StyledTooltip>
422+
</Link>
423423
);
424424
};
425425
}

0 commit comments

Comments
 (0)