From 29fcc339952f82c69c13cbcf58050e753f4c104d Mon Sep 17 00:00:00 2001 From: Michael Sun <55160142+MichaelSun48@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:11:08 -0500 Subject: [PATCH] chore(stacktrace): Make source map tooltip aligned (#82016) this has annoyed me since forever before: ![image](https://github.com/user-attachments/assets/33733ee9-646b-4949-a18d-6a29e16b6028) after: (notice the tooltip is aligned with the stack trace file path now) ![image](https://github.com/user-attachments/assets/2e199d45-1126-4878-84ea-41e11d50130c) (This changes applies to both the old and new issue details pages) --- .../events/interfaces/frame/deprecatedLine.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/static/app/components/events/interfaces/frame/deprecatedLine.tsx b/static/app/components/events/interfaces/frame/deprecatedLine.tsx index df32df23de9a06..16773828e72393 100644 --- a/static/app/components/events/interfaces/frame/deprecatedLine.tsx +++ b/static/app/components/events/interfaces/frame/deprecatedLine.tsx @@ -364,15 +364,13 @@ export class DeprecatedLine extends Component { {this.isExpandable() ? : null} -
- {this.renderLeadHint()} - -
+ {this.renderLeadHint()} +
@@ -508,6 +506,7 @@ const DefaultLineTitleWrapper = styled('div')<{isInAppFrame: boolean}>` const LeftLineTitle = styled('div')` display: flex; align-items: center; + gap: ${space(0.25)}; `; const RepeatedContent = styled(LeftLineTitle)`