Skip to content

Commit

Permalink
feat: add pre-line for better description display
Browse files Browse the repository at this point in the history
  • Loading branch information
tucq88 committed Aug 26, 2024
1 parent 8fcbd34 commit 7fd50c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[multisigAddress]/[proposalId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const Proposal: NextPage = () => {
) : (
<div className="container mx-auto max-w-lg text-left">
<h1 className="text-3xl font-bold mb-8">{proposal.title}</h1>
<p className="break-all mb-8">{proposal.description}</p>
<p className="whitespace-pre-line break-all mb-8">{proposal.description}</p>
<div className="p-2 border border-black rounded mb-8">
<ReactCodeMirror
className="max-w-lg"
Expand Down

0 comments on commit 7fd50c5

Please sign in to comment.