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: remove unnecessary styles for the actions section in the query builder (#3057)

dnazarenkoo0750231b4bd7
diff --git a/frontend/src/container/QueryBuilder/QueryBuilder.styled.ts b/frontend/src/container/QueryBuilder/QueryBuilder.styled.ts
deleted file mode 100644
index 20dc483e01..0000000000
--- a/frontend/src/container/QueryBuilder/QueryBuilder.styled.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { Col } from 'antd';
-import styled from 'styled-components';
-
-export const ActionsWrapperStyled = styled(Col)`
- padding-right: 1rem;
-`;
diff --git a/frontend/src/container/QueryBuilder/QueryBuilder.tsx b/frontend/src/container/QueryBuilder/QueryBuilder.tsx
index 4aefedb022..125440fb2a 100644
--- a/frontend/src/container/QueryBuilder/QueryBuilder.tsx
+++ b/frontend/src/container/QueryBuilder/QueryBuilder.tsx
@@ -10,8 +10,6 @@ import { memo, useEffect, useMemo } from 'react';
import { Formula, Query } from './components';
// ** Types
import { QueryBuilderProps } from './QueryBuilder.interfaces';
-// ** Styles
-import { ActionsWrapperStyled } from './QueryBuilder.styled';
export const QueryBuilder = memo(function QueryBuilder({
config,
@@ -87,7 +85,7 @@ export const QueryBuilder = memo(function QueryBuilder({
</Row>
</Col>
- <ActionsWrapperStyled span={24}>
+ <Col span={24}>
<Row gutter={[20, 0]}>
<Col>
<Button
@@ -111,7 +109,7 @@ export const QueryBuilder = memo(function QueryBuilder({
</Col>
{actions}
</Row>
- </ActionsWrapperStyled>
+ </Col>
</Row>
);
});