From 61a21a77a0882b7aecdd68b245dc5e048b662101 Mon Sep 17 00:00:00 2001 From: fabiolalombardim Date: Sat, 13 Jan 2024 19:36:50 +0100 Subject: [PATCH] fix 733 --- src/modules/explorer/components/ProposalsList.tsx | 2 +- src/modules/lite/explorer/components/ProposalList.tsx | 9 +++++---- .../lite/explorer/components/ProposalTableRow.tsx | 2 +- .../lite/explorer/components/tables/RowContainer.tsx | 1 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/modules/explorer/components/ProposalsList.tsx b/src/modules/explorer/components/ProposalsList.tsx index 050a8483..48f2fcb1 100644 --- a/src/modules/explorer/components/ProposalsList.tsx +++ b/src/modules/explorer/components/ProposalsList.tsx @@ -86,7 +86,7 @@ export const ProposalsList: React.FC = ({ {liteProposals && liteProposals.length > 0 ? liteProposals.map((poll, i) => { return ( -
+
{liteProposals.length - 1 !== i ? : null}
diff --git a/src/modules/lite/explorer/components/ProposalList.tsx b/src/modules/lite/explorer/components/ProposalList.tsx index 2351b46e..3b920e59 100644 --- a/src/modules/lite/explorer/components/ProposalList.tsx +++ b/src/modules/lite/explorer/components/ProposalList.tsx @@ -28,7 +28,8 @@ export const StyledDivider = styled(Divider)({ height: 0.3, backgroundColor: "#7d8c8b", marginTop: 0, - marginBottom: 0 + marginBottom: 0, + width: "inherit" }) const NoProposalsText = styled(Typography)({ @@ -209,10 +210,10 @@ export const ProposalList: React.FC<{ polls: Poll[]; id: string | undefined; dao {communityPolls && communityPolls.length > 0 ? ( communityPolls.map((poll, i) => { return ( -
- + <> + {communityPolls.length - 1 !== i ? : null} -
+ ) }) ) : ( diff --git a/src/modules/lite/explorer/components/ProposalTableRow.tsx b/src/modules/lite/explorer/components/ProposalTableRow.tsx index fc2d5918..610d79b8 100644 --- a/src/modules/lite/explorer/components/ProposalTableRow.tsx +++ b/src/modules/lite/explorer/components/ProposalTableRow.tsx @@ -76,7 +76,7 @@ export const ProposalTableRow: React.FC<{ poll: Poll; daoId?: string }> = ({ pol {poll.timeFormatted} - + {ReactHtmlParser(poll.description)} diff --git a/src/modules/lite/explorer/components/tables/RowContainer.tsx b/src/modules/lite/explorer/components/tables/RowContainer.tsx index 70dd3253..c46835f6 100644 --- a/src/modules/lite/explorer/components/tables/RowContainer.tsx +++ b/src/modules/lite/explorer/components/tables/RowContainer.tsx @@ -4,6 +4,7 @@ export const RowContainer = styled(Grid)(({ theme }) => ({ minHeight: 145, padding: "44px 38px", cursor: "pointer", + width: "inherit", [theme.breakpoints.down("md")]: { padding: "44px 38px" }