Merge pull request #88 from jedmund/description-newline
Party description fixes
This commit is contained in:
commit
6a7a484f4f
2 changed files with 4 additions and 1 deletions
|
|
@ -58,6 +58,7 @@
|
||||||
|
|
||||||
&.ReadOnly {
|
&.ReadOnly {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
|
||||||
&.Visible {
|
&.Visible {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
||||||
|
|
@ -336,7 +336,9 @@ const PartyDetails = (props: Props) => {
|
||||||
)
|
)
|
||||||
|
|
||||||
const readOnly = (
|
const readOnly = (
|
||||||
<section className={readOnlyClasses}>{embeddedDescription}</section>
|
<section className={readOnlyClasses}>
|
||||||
|
<Linkify>{embeddedDescription}</Linkify>
|
||||||
|
</section>
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue