chore: error details stack trace height is updated (#3639)

* chore: error details stack trace height is updated

* chore: style is updated

---------

Co-authored-by: Rajat Dabade <rajat@signoz.io>
This commit is contained in:
Palash Gupta 2023-09-27 12:20:10 +00:00 committed by GitHub
parent 821471f4ab
commit bccefc6a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import './styles.scss';
import { Button, Divider, Space, Typography } from 'antd';
import getNextPrevId from 'api/errors/getNextPrevId';
import Editor from 'components/Editor';
@ -161,7 +163,9 @@ function ErrorDetails(props: ErrorDetailsProps): JSX.Element {
</DashedContainer>
<Typography.Title level={4}>{t('stack_trace')}</Typography.Title>
<Editor onChange={(): void => {}} value={stackTraceValue} readOnly />
<div className="error-container">
<Editor value={stackTraceValue} readOnly />
</div>
<EditorContainer>
<Space direction="vertical">

View File

@ -0,0 +1,3 @@
.error-container {
height: 50vh;
}