From 16ff0c22db48862d2144f6b32937d12ee1defa7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corinne=20B=C3=B6sch?= Date: Fri, 17 Jun 2022 12:25:05 +0100 Subject: [PATCH] Proposals box (#758) * wrapping overflowing text when pubkey is passed as proposal title * implementing min-width on voted proposal status badge --- components/Members/MemberOverview.tsx | 4 +--- components/ProposalCard.tsx | 4 +++- components/ProposalStatusBadge.tsx | 2 +- pages/dao/[symbol]/proposal/[pk].tsx | 4 +++- styles/index.css | 7 +++++++ 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/components/Members/MemberOverview.tsx b/components/Members/MemberOverview.tsx index 6a3f5e511d..ad4f9a8a4e 100644 --- a/components/Members/MemberOverview.tsx +++ b/components/Members/MemberOverview.tsx @@ -266,9 +266,7 @@ const MemberOverview = ({ member }: { member: Member }) => { className="bg-bkg-1 space-y-2 mt-2 px-4 py-3 rounded-md" key={index} > -

+

{msg}

diff --git a/components/ProposalCard.tsx b/components/ProposalCard.tsx index 0895b77c21..32e2bbde8c 100644 --- a/components/ProposalCard.tsx +++ b/components/ProposalCard.tsx @@ -43,7 +43,9 @@ const ProposalCard = ({ proposalPk, proposal }: ProposalCardProps) => {
-

{proposal.name}

+

+ {proposal.name} +

{statusLabel}
diff --git a/pages/dao/[symbol]/proposal/[pk].tsx b/pages/dao/[symbol]/proposal/[pk].tsx index 0a791a4031..bfd7774990 100644 --- a/pages/dao/[symbol]/proposal/[pk].tsx +++ b/pages/dao/[symbol]/proposal/[pk].tsx @@ -74,7 +74,9 @@ const Proposal = () => {
-

{proposal?.account.name}

+

+ {proposal?.account.name} +