Skip to content

Commit

Permalink
Add whiteSpace break-spaces to proposal description
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed Jan 24, 2024
1 parent 4b0d401 commit d36dbd5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Proposals/ProposalInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,14 @@ export function ProposalInfo({
activity={proposal}
showFullSnapshotDescription
/>
{!isSnapshotProposal && <Text my={4}>{metaData.description}</Text>}
{!isSnapshotProposal && (
<Text
my={4}
whiteSpace="break-spaces"
>
{metaData.description}
</Text>
)}
{metaData.documentationUrl && (
<Text
onClick={confirmUrl}
Expand Down

0 comments on commit d36dbd5

Please sign in to comment.