Skip to content

Commit

Permalink
Formatted.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jan 27, 2024
1 parent c6bb9eb commit 1ce0aa5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/stateless/components/NftCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export const NftCard = forwardRef<HTMLDivElement, NftCardProps>(
<div className="space-y-1">
<MarkdownRenderer
className={
descriptionCollapsed ? 'break-words line-clamp-3' : undefined
descriptionCollapsed ? 'line-clamp-3 break-words' : undefined
}
markdown={description}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/stateless/components/dao/DaoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const DaoCard = ({
</div>

<div className="self-stretch">
<p className="secondary-text mb-5 w-full break-words line-clamp-3">
<p className="secondary-text line-clamp-3 mb-5 w-full break-words">
{removeMarkdown(description)}
</p>

Expand Down
2 changes: 1 addition & 1 deletion packages/stateless/components/proposal/ProposalCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const ProposalCard = ({
</p>
</DaoImage>
<p className="primary-text text-center text-text-body">{title}</p>
<p className="secondary-text break-words line-clamp-4">
<p className="secondary-text line-clamp-4 break-words">
{removeMarkdown(description)}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/stateless/components/proposal/ProposalLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const ProposalLine = ({
)}
</div>

<p className="body-text break-words line-clamp-2">{title}</p>
<p className="body-text line-clamp-2 break-words">{title}</p>
</div>

<div className="flex flex-row items-center justify-between gap-6">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export const VestingPaymentCard = ({

<MarkdownRenderer
className={
descriptionCollapsed ? 'break-words line-clamp-2' : undefined
descriptionCollapsed ? 'line-clamp-2 break-words' : undefined
}
markdown={description}
/>
Expand Down

0 comments on commit 1ce0aa5

Please sign in to comment.