fix: remove unnecessary styles for the actions section in the query builder (#3057)

This commit is contained in:
dnazarenkoo 2023-07-06 17:00:20 +03:00 committed by GitHub
parent c1664dde6a
commit 0750231b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -1,6 +0,0 @@
import { Col } from 'antd';
import styled from 'styled-components';
export const ActionsWrapperStyled = styled(Col)`
padding-right: 1rem;
`;

View File

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