diff --git a/src/components/workspace/BuildProject/BuildProject.module.scss b/src/components/workspace/BuildProject/BuildProject.module.scss index 0606c02..2515c5d 100644 --- a/src/components/workspace/BuildProject/BuildProject.module.scss +++ b/src/components/workspace/BuildProject/BuildProject.module.scss @@ -82,9 +82,11 @@ gap: 0.2rem; } } - [class*='ant-form-item-explain-error'] { - position: relative; - top: -8px; - pointer-events: none; + .cellBuilder { + [class*='ant-form-item-explain-error'] { + position: relative; + top: -10px; + pointer-events: none; + } } } diff --git a/src/components/workspace/BuildProject/CellBuilder.tsx b/src/components/workspace/BuildProject/CellBuilder.tsx index 703a64b..98699fd 100644 --- a/src/components/workspace/BuildProject/CellBuilder.tsx +++ b/src/components/workspace/BuildProject/CellBuilder.tsx @@ -85,7 +85,7 @@ const CellBuilder: FC = ({ info, projectId, type, form }) => { }, [isCellBuilder]); return ( -
+

- {info} = ({ info, projectId, type, form }) => { { + return true; + }} > - + {({ getFieldValue }) => { + return getFieldValue(['cell', index]) ? ( + + + + ) : null; + }}