fix: error details container - add padding and improve typography of title and desc (#9753)

* fix: add padding to error details container

* fix: update typography of title and description
This commit is contained in:
Yunus M
2025-12-03 11:17:30 +05:30
committed by GitHub
parent 1078f98388
commit ece5c2b7ad
2 changed files with 8 additions and 4 deletions

View File

@@ -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>
);
}

View File

@@ -1,3 +1,7 @@
.error-details-container {
padding: 16px;
}
.error-container {
height: 50vh;
}