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: layout issue on alert page (#2867)

Chintan Sudanie5bb125a5538
diff --git a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx b/frontend/src/container/FormAlertRules/ChartPreview/index.tsx
index 2b10756266..9895e6d5ad 100644
--- a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx
+++ b/frontend/src/container/FormAlertRules/ChartPreview/index.tsx
@@ -117,7 +117,9 @@ function ChartPreview({
{queryResponse.error.message || t('preview_chart_unexpected_error')}
</FailedMessageContainer>
)}
- {queryResponse.isLoading && <Spinner size="large" tip="Loading..." />}
+ {queryResponse.isLoading && (
+ <Spinner size="large" tip="Loading..." height="70vh" />
+ )}
{chartDataSet && !queryResponse.isError && (
<GridGraphComponent
title={name}
diff --git a/frontend/src/container/FormAlertRules/index.tsx b/frontend/src/container/FormAlertRules/index.tsx
index 8be331f4c5..7fed83cac6 100644
--- a/frontend/src/container/FormAlertRules/index.tsx
+++ b/frontend/src/container/FormAlertRules/index.tsx
@@ -416,7 +416,7 @@ function FormAlertRules({
<>
{Element}
<PanelContainer>
- <StyledLeftContainer flex="5 1 600px">
+ <StyledLeftContainer flex="5 1 600px" md={18}>
<MainFormContainer
initialValues={initialValue}
layout="vertical"