Skip to content

Commit 0e5e3e3

Browse files
MichaelSun48evanh
authored andcommitted
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)
1 parent c3a93f9 commit 0e5e3e3

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

static/app/components/events/interfaces/frame/deprecatedLine.tsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -364,15 +364,13 @@ export class DeprecatedLine extends Component<Props, State> {
364364
{this.isExpandable() ? <InteractionStateLayer /> : null}
365365
<DefaultLineTitleWrapper isInAppFrame={data.inApp}>
366366
<LeftLineTitle>
367-
<div>
368-
{this.renderLeadHint()}
369-
<DefaultTitle
370-
frame={data}
371-
platform={this.props.platform ?? 'other'}
372-
isHoverPreviewed={isHoverPreviewed}
373-
meta={this.props.frameMeta}
374-
/>
375-
</div>
367+
{this.renderLeadHint()}
368+
<DefaultTitle
369+
frame={data}
370+
platform={this.props.platform ?? 'other'}
371+
isHoverPreviewed={isHoverPreviewed}
372+
meta={this.props.frameMeta}
373+
/>
376374
</LeftLineTitle>
377375
</DefaultLineTitleWrapper>
378376
<DefaultLineTagWrapper>
@@ -508,6 +506,7 @@ const DefaultLineTitleWrapper = styled('div')<{isInAppFrame: boolean}>`
508506
const LeftLineTitle = styled('div')`
509507
display: flex;
510508
align-items: center;
509+
gap: ${space(0.25)};
511510
`;
512511

513512
const RepeatedContent = styled(LeftLineTitle)`

0 commit comments

Comments
 (0)