diff --git a/apps/frontend/src/components/template/TemplateQuestionEditor.tsx b/apps/frontend/src/components/template/TemplateQuestionEditor.tsx
index dd9bfd8b6a..6156b3a6a5 100644
--- a/apps/frontend/src/components/template/TemplateQuestionEditor.tsx
+++ b/apps/frontend/src/components/template/TemplateQuestionEditor.tsx
@@ -59,7 +59,7 @@ export default function TemplateQuestionEditor(props: {
? '&&'
: '||';
const dependencyJsx = dependencies.length ? (
-
+ <>
{dependencies.map((dependency, i) => {
@@ -99,7 +99,7 @@ export default function TemplateQuestionEditor(props: {
);
})}
-
+ >
) : null;
const questionDefinition = getQuestionaryComponentDefinition(
props.data.dataType
@@ -138,6 +138,7 @@ export default function TemplateQuestionEditor(props: {
fontSize: '12px',
fontWeight: 'bold',
color: theme.palette.grey[800],
+ wordBreak: 'break-word',
}}
data-cy="proposal-question-id"
>
@@ -148,9 +149,9 @@ export default function TemplateQuestionEditor(props: {
xs={2}
sx={{
color: theme.palette.grey[400],
- justifyItems: 'flex-end',
- justifyContent: 'flex-end',
display: 'flex',
+ justifyContent: 'flex-end',
+ alignItems: 'center',
}}
>
{getTemplateFieldIcon(props.data.dataType)}
@@ -159,7 +160,7 @@ export default function TemplateQuestionEditor(props: {
{questionDefinition.renderers
? questionDefinition.renderers.questionRenderer(props.data)