Skip to content

Commit

Permalink
fix(proposal): fix proposals content color (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidroohi92 authored Sep 26, 2024
1 parent 01d0f8b commit 572469b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/tokenVoting/components/proposal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ export default function ProposalCard(props: ProposalInputs) {
</If>

<div className="overflow-hidden text-ellipsis">
<h4 className=" text-dark mb-1 line-clamp-1 text-lg font-semibold">
<h4 className=" text-dark mb-1 line-clamp-1 text-lg font-semibold !text-[#000]">
{Number(props.proposalId) + 1} - {proposal.title}
</h4>
<div
className="box line-clamp-2 overflow-hidden text-ellipsis"
className="box line-clamp-2 overflow-hidden text-ellipsis !text-[#000]"
dangerouslySetInnerHTML={{
__html: proposal.summary ? DOMPurify.sanitize(proposal.summary) : DEFAULT_PROPOSAL_METADATA_SUMMARY,
}}
Expand Down

0 comments on commit 572469b

Please sign in to comment.