From ab81b70b13549fe58e28e807140270aca99c2ebc Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 29 Dec 2022 03:24:41 -0800 Subject: [PATCH] Fix line wrapping and linkify URLs again --- components/PartyDetails/index.scss | 1 + components/PartyDetails/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/PartyDetails/index.scss b/components/PartyDetails/index.scss index 5fc40f84..6d1e0e43 100644 --- a/components/PartyDetails/index.scss +++ b/components/PartyDetails/index.scss @@ -58,6 +58,7 @@ &.ReadOnly { line-height: 1.4; + white-space: pre-wrap; &.Visible { display: block; diff --git a/components/PartyDetails/index.tsx b/components/PartyDetails/index.tsx index 5b94f1fc..84fe60c3 100644 --- a/components/PartyDetails/index.tsx +++ b/components/PartyDetails/index.tsx @@ -336,7 +336,9 @@ const PartyDetails = (props: Props) => { ) const readOnly = ( -
{embeddedDescription}
+
+ {embeddedDescription} +
) return (