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: error details container - add padding and improve typography of title and desc (#9753)

Yunus Mece5c2b7adc9
diff --git a/frontend/src/container/ErrorDetails/index.tsx b/frontend/src/container/ErrorDetails/index.tsx
index ad67893809..93bb555828 100644
--- a/frontend/src/container/ErrorDetails/index.tsx
+++ b/frontend/src/container/ErrorDetails/index.tsx
@@ -138,9 +138,9 @@ function ErrorDetails(props: ErrorDetailsProps): JSX.Element {
const { formatTimezoneAdjustedTimestamp } = useTimezone();
return (
- <>
- <Typography>{errorDetail.exceptionType}</Typography>
- <Typography>{errorDetail.exceptionMessage}</Typography>
+ <div className="error-details-container">
+ <Typography.Title level={4}>{errorDetail.exceptionType}</Typography.Title>
+ <Typography.Text>{errorDetail.exceptionMessage}</Typography.Text>
<Divider />
<EventContainer>
@@ -200,7 +200,7 @@ function ErrorDetails(props: ErrorDetailsProps): JSX.Element {
<ResizeTable columns={columns} tableLayout="fixed" dataSource={data} />
</Space>
</EditorContainer>
- </>
+ </div>
);
}
diff --git a/frontend/src/container/ErrorDetails/styles.scss b/frontend/src/container/ErrorDetails/styles.scss
index 31194b488f..6b3fd2a2e2 100644
--- a/frontend/src/container/ErrorDetails/styles.scss
+++ b/frontend/src/container/ErrorDetails/styles.scss
@@ -1,3 +1,7 @@
+.error-details-container {
+ padding: 16px;
+}
+
.error-container {
height: 50vh;
}