diff --git a/editor.planx.uk/src/@planx/components/Checklist/Editor.tsx b/editor.planx.uk/src/@planx/components/Checklist/Editor.tsx index 8c52fd02fd..91357ca603 100644 --- a/editor.planx.uk/src/@planx/components/Checklist/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/Checklist/Editor.tsx @@ -41,6 +41,7 @@ const OptionEditor: React.FC = (props) => { { props.onChange({ diff --git a/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx b/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx index 8ac202989c..1c79a5c950 100644 --- a/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/NextSteps/Editor.tsx @@ -32,6 +32,7 @@ const TaskEditor: React.FC> = (props) => { ) => { props.onChange({ @@ -46,6 +47,7 @@ const TaskEditor: React.FC> = (props) => { ) => { props.onChange({ ...props.value, diff --git a/editor.planx.uk/src/@planx/components/Question/Editor.tsx b/editor.planx.uk/src/@planx/components/Question/Editor.tsx index c3160c7238..baa40c13ed 100644 --- a/editor.planx.uk/src/@planx/components/Question/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/Question/Editor.tsx @@ -49,6 +49,7 @@ const OptionEditor: React.FC<{ { props.onChange({ @@ -79,6 +80,7 @@ const OptionEditor: React.FC<{ { props.onChange({ ...props.value, diff --git a/editor.planx.uk/src/@planx/components/Result/Editor.tsx b/editor.planx.uk/src/@planx/components/Result/Editor.tsx index 5423ac452b..ad3c26fc9c 100644 --- a/editor.planx.uk/src/@planx/components/Result/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/Result/Editor.tsx @@ -41,6 +41,7 @@ const FlagEditor: React.FC<{ props.onChange({ ...existingOverrides, heading: ev.target.value }) diff --git a/editor.planx.uk/src/ui/shared/Input/Input.tsx b/editor.planx.uk/src/ui/shared/Input/Input.tsx index 73bdcec41a..83ee20ffa3 100644 --- a/editor.planx.uk/src/ui/shared/Input/Input.tsx +++ b/editor.planx.uk/src/ui/shared/Input/Input.tsx @@ -79,9 +79,9 @@ const StyledInputBase = styled(InputBase, { fontWeight: FONT_WEIGHT_SEMI_BOLD, }), [`&.${classes.multiline}`]: { - height: "auto", + height: "100%", "& textarea": { - padding: theme.spacing(1.5, 0), + padding: theme.spacing(1, 0), lineHeight: 1.6, }, },