Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: css issue for the SelectedSpanDetails is updated (#257)

palash-signoz0055eaf6566a
diff --git a/frontend/src/modules/Traces/SelectedSpanDetails.tsx b/frontend/src/modules/Traces/SelectedSpanDetails.tsx
index b15bb3f427..a059edb703 100644
--- a/frontend/src/modules/Traces/SelectedSpanDetails.tsx
+++ b/frontend/src/modules/Traces/SelectedSpanDetails.tsx
@@ -47,16 +47,20 @@ const CustomSubText = styled(Paragraph)`
}
`;
+const CardContainer = styled(Card)`
+ .ant-card-body {
+ max-height: 90vh;
+ overflow-y: auto;
+ }
+`;
+
const SelectedSpanDetails = (props: SelectedSpanDetailsProps) => {
const spanTags = props.data?.tags;
const service = props.data?.name?.split(":")[0];
const operation = props.data?.name?.split(":")[1];
return (
- <Card
- style={{ border: "none", background: "transparent", padding: 0 }}
- bodyStyle={{ padding: 0 }}
- >
+ <CardContainer>
<Space direction="vertical">
<strong> Details for selected Span </strong>
<Space direction="vertical" size={2}>
@@ -98,7 +102,7 @@ const SelectedSpanDetails = (props: SelectedSpanDetailsProps) => {
))}
</TabPane>
</Tabs>
- </Card>
+ </CardContainer>
);
};