diff --git a/packages/web/src/components/FlowSubstep/FilterConditions/index.jsx b/packages/web/src/components/FlowSubstep/FilterConditions/index.jsx index e015c83c..27b8642e 100644 --- a/packages/web/src/components/FlowSubstep/FilterConditions/index.jsx +++ b/packages/web/src/components/FlowSubstep/FilterConditions/index.jsx @@ -3,7 +3,6 @@ import * as React from 'react'; import { v4 as uuidv4 } from 'uuid'; import { useFormContext, useWatch } from 'react-hook-form'; import Stack from '@mui/material/Stack'; -import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import Divider from '@mui/material/Divider'; import IconButton from '@mui/material/IconButton'; @@ -12,6 +11,7 @@ import AddIcon from '@mui/icons-material/Add'; import useFormatMessage from 'hooks/useFormatMessage'; import InputCreator from 'components/InputCreator'; import { EditorContext } from 'contexts/Editor'; +import { Grid } from '@mui/material'; const createGroupItem = () => ({ key: '', @@ -133,19 +133,16 @@ function FilterConditions(props) { {group?.and?.map((groupItem, groupItemIndex) => ( - - + - + - - - + + - - - + + - - - - removeGroupItem(groupIndex, groupItemIndex)} - sx={{ width: 61, height: 61 }} - disabled={groups.length === 1 && group.and.length === 1} - > - - - + + + + + + removeGroupItem(groupIndex, groupItemIndex) + } + sx={{ + width: 40, + height: 40, + mb: { xs: 2, sm: 0 }, + }} + disabled={groups.length === 1 && group.and.length === 1} + > + + + + + ))}