Skip to content

Commit

Permalink
[Hotfix] Wrap error message (#55)
Browse files Browse the repository at this point in the history
* Use `prose` so error text wraps nicely

* Apply `prose` to `ProposalNewFormDialog` error message
  • Loading branch information
aidan-starke authored Jul 18, 2022
1 parent 4faade1 commit 34d2179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/web/components/src/IdentityFormDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const IdentityFormDialog: FC<IdentityFormDialogProps> = ({
</p>

<If condition={!!formState?.statusMessage}>
<p className="mt-2 bg-white/50 px-8 py-4 font-mono text-xs">
<p className="prose mt-2 bg-white/50 px-8 py-4 font-mono text-xs">
{formState?.statusMessage}
</p>
</If>
Expand Down
2 changes: 1 addition & 1 deletion libs/web/components/src/ProposalNewFormDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const ProposalNewFormDialog: FC<ProposalNewFormDialogProps> = ({
</p>

<If condition={!!formState?.statusMessage}>
<p className="mt-2 bg-white/50 px-8 py-4 font-mono text-xs">
<p className="prose mt-2 bg-white/50 px-8 py-4 font-mono text-xs">
{formState?.statusMessage}
</p>
</If>
Expand Down

0 comments on commit 34d2179

Please sign in to comment.