Merge pull request #88 from jedmund/description-newline

Party description fixes
This commit is contained in:
Justin Edmund 2022-12-29 03:25:55 -08:00 committed by GitHub
commit 6a7a484f4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -58,6 +58,7 @@
&.ReadOnly {
line-height: 1.4;
white-space: pre-wrap;
&.Visible {
display: block;

View file

@ -336,7 +336,9 @@ const PartyDetails = (props: Props) => {
)
const readOnly = (
<section className={readOnlyClasses}>{embeddedDescription}</section>
<section className={readOnlyClasses}>
<Linkify>{embeddedDescription}</Linkify>
</section>
)
return (