Skip to content

Commit

Permalink
fix: add min height chart gov
Browse files Browse the repository at this point in the history
  • Loading branch information
DinhTran committed Apr 3, 2024
1 parent 8a38601 commit 0d6d76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GovernanceVotes/index.tsx
Expand Up @@ -696,7 +696,7 @@ const VoteRate = ({ data }: { data?: GovernanceVoteChart | VotingChart | null })
}, [JSON.stringify(data)]);

return (
<Box display="flex" alignItems="end" justifyContent="space-between" flexWrap={"wrap"} width="100%">
<Box display="flex" alignItems="end" justifyContent="space-between" flexWrap={"wrap"} width="100%" minHeight={150}>
<VoteBar
percentage={totalVote > 0 ? formatPercent((data?.numberOfYesVote || 0) / totalVote) : 0}
color={theme.palette.success[700]}
Expand Down

0 comments on commit 0d6d76b

Please sign in to comment.