diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Flow/components/Question.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Flow/components/Question.tsx index f385aa5072..437c5b33c4 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Flow/components/Question.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Flow/components/Question.tsx @@ -1,4 +1,5 @@ import ErrorIcon from "@mui/icons-material/Error"; +import Box from "@mui/material/Box"; import { ComponentType as TYPES, NodeTags, @@ -76,25 +77,27 @@ const Question: React.FC = React.memo((props) => { }, )} > - - {props.data?.img && ( - + + + {props.data?.img && ( + + )} + {Icon && } + {props.text} + + {props.type !== TYPES.SetValue && props.data?.fn && ( + )} - {Icon && } - {props.text} - - {props.type !== TYPES.SetValue && props.data?.fn && ( - - )} - {props.tags?.map((tag) => )} + {props.tags?.map((tag) => )} +
    {childNodes.map((child: any) => ( diff --git a/editor.planx.uk/src/pages/FlowEditor/floweditor.scss b/editor.planx.uk/src/pages/FlowEditor/floweditor.scss index 510847f098..568dde79a5 100644 --- a/editor.planx.uk/src/pages/FlowEditor/floweditor.scss +++ b/editor.planx.uk/src/pages/FlowEditor/floweditor.scss @@ -119,8 +119,7 @@ $fontMonospace: "Source Code Pro", monospace; outline-offset: 0; } - &.isClone > div, - &.isClone > a { + &.isClone > div { margin-top: 3px; position: relative; ::before {