diff --git a/client/modules/datafiles/src/projects/BaseProjectDetails.tsx b/client/modules/datafiles/src/projects/BaseProjectDetails.tsx index 876d72907..fd532c250 100644 --- a/client/modules/datafiles/src/projects/BaseProjectDetails.tsx +++ b/client/modules/datafiles/src/projects/BaseProjectDetails.tsx @@ -446,7 +446,7 @@ export const BaseProjectDetails: React.FC<{ {projectValue.description && ( Description: - {projectValue.description} +

{projectValue.description}

)} diff --git a/client/modules/datafiles/src/projects/PublishedEntityDetails.tsx b/client/modules/datafiles/src/projects/PublishedEntityDetails.tsx index 27af3cc03..f393952fc 100644 --- a/client/modules/datafiles/src/projects/PublishedEntityDetails.tsx +++ b/client/modules/datafiles/src/projects/PublishedEntityDetails.tsx @@ -221,7 +221,7 @@ export const PublishedEntityDetails: React.FC<{ Description: - {entityValue.description} +

{entityValue.description}

); diff --git a/client/modules/datafiles/src/projects/SubEntityDetails.tsx b/client/modules/datafiles/src/projects/SubEntityDetails.tsx index 39ab4a4b9..a3d1ad28d 100644 --- a/client/modules/datafiles/src/projects/SubEntityDetails.tsx +++ b/client/modules/datafiles/src/projects/SubEntityDetails.tsx @@ -159,7 +159,9 @@ export const SubEntityDetails: React.FC<{ Description: - {entityValue.description || '(N/A)'} +

+ {entityValue.description || '(N/A)'} +

); diff --git a/client/src/styles.css b/client/src/styles.css index 3de1822df..86f5f69bb 100644 --- a/client/src/styles.css +++ b/client/src/styles.css @@ -107,6 +107,10 @@ flex: 2; } +.render-linebreaks { + white-space: pre-line; +} + .inner-form-item { margin-bottom: 0; }