@@ -41,7 +41,8 @@ import {GeneralSpanDetailsValue} from 'sentry/views/performance/traceDetails/new
41
41
import { spanDetailsRouteWithQuery } from 'sentry/views/performance/transactionSummary/transactionSpans/spanDetails/utils' ;
42
42
import { transactionSummaryRouteWithQuery } from 'sentry/views/performance/transactionSummary/utils' ;
43
43
import { getPerformanceDuration } from 'sentry/views/performance/utils/getPerformanceDuration' ;
44
- import { SpanDescription } from 'sentry/views/starfish/components/spanDescription' ;
44
+ import { Frame , SpanDescription } from 'sentry/views/starfish/components/spanDescription' ;
45
+ import { FrameContainer } from 'sentry/views/starfish/components/stackTraceMiniFrame' ;
45
46
import { ModuleName } from 'sentry/views/starfish/types' ;
46
47
import { resolveSpanModule } from 'sentry/views/starfish/utils/resolveSpanModule' ;
47
48
@@ -455,11 +456,13 @@ function NewTraceDetailsSpanDetail(props: SpanDetailProps) {
455
456
extra = { renderSpanDetailActions ( ) }
456
457
>
457
458
{ resolvedModule === ModuleName . DB ? (
458
- < SpanDescription
459
- groupId = { span . sentry_tags ?. group ?? '' }
460
- op = { span . op ?? '' }
461
- preliminaryDescription = { span . description }
462
- />
459
+ < SpanDescriptionWrapper >
460
+ < SpanDescription
461
+ groupId = { span . sentry_tags ?. group ?? '' }
462
+ op = { span . op ?? '' }
463
+ preliminaryDescription = { span . description }
464
+ />
465
+ </ SpanDescriptionWrapper >
463
466
) : (
464
467
span . description
465
468
) }
@@ -735,13 +738,13 @@ const Flex = styled('div')`
735
738
display: flex;
736
739
align-items: center;
737
740
` ;
738
- const ButtonGroup = styled ( 'div' ) `
741
+ export const ButtonGroup = styled ( 'div' ) `
739
742
display: flex;
740
743
flex-direction: column;
741
744
gap: ${ space ( 0.5 ) } ;
742
745
` ;
743
746
744
- const ValueRow = styled ( 'div' ) `
747
+ export const ValueRow = styled ( 'div' ) `
745
748
display: grid;
746
749
grid-template-columns: auto min-content;
747
750
gap: ${ space ( 1 ) } ;
@@ -756,12 +759,27 @@ const StyledPre = styled('pre')`
756
759
background-color: transparent !important;
757
760
` ;
758
761
759
- const ButtonContainer = styled ( 'div' ) `
762
+ export const ButtonContainer = styled ( 'div' ) `
760
763
padding: 8px 10px;
761
764
` ;
762
765
763
766
const StyledQuestionTooltip = styled ( QuestionTooltip ) `
764
767
margin-left: ${ space ( 0.5 ) } ;
765
768
` ;
766
769
770
+ const SpanDescriptionWrapper = styled ( 'div' ) `
771
+ ${ Frame } {
772
+ border: none;
773
+ }
774
+
775
+ ${ FrameContainer } {
776
+ padding: ${ space ( 2 ) } 0 0 0;
777
+ margin-top: ${ space ( 2 ) } ;
778
+ }
779
+
780
+ pre {
781
+ padding: 0 !important;
782
+ }
783
+ ` ;
784
+
767
785
export default NewTraceDetailsSpanDetail ;
0 commit comments