From cc05f56581195aa16b39cc5fef9f86b8315a0d48 Mon Sep 17 00:00:00 2001 From: Rob Gietema Date: Mon, 25 Nov 2024 12:44:22 +0100 Subject: [PATCH] Fix description styling. --- .../volto-form-block/src/schemaFormBlock/EditSchemaForm.jsx | 4 +--- .../volto-form-block/src/schemaFormBlock/ViewSchemaForm.jsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/packages/volto-form-block/src/schemaFormBlock/EditSchemaForm.jsx b/frontend/packages/volto-form-block/src/schemaFormBlock/EditSchemaForm.jsx index cab757b..9509fd3 100644 --- a/frontend/packages/volto-form-block/src/schemaFormBlock/EditSchemaForm.jsx +++ b/frontend/packages/volto-form-block/src/schemaFormBlock/EditSchemaForm.jsx @@ -44,9 +44,7 @@ class Edit extends Component { return ( <> {data.title &&

{data.title}

} - {data.description && ( -

{data.description}

- )} + {data.description &&

{data.description}

}
{ return (
{data.title &&

{data.title}

} - {data.description && ( -

{data.description}

- )} + {data.description &&

{data.description}

} {submitted ? (