Skip to content

Commit

Permalink
Merge pull request #1421 from digitalgreenorg/moa_images
Browse files Browse the repository at this point in the history
Moa images
  • Loading branch information
shruthi-monika authored Sep 19, 2024
2 parents d102e40 + 74de0a6 commit c216132
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/Da_Registry/stateless/PieChartGraph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ const PieChartGraph = (props) => {
sm={6}
md={4}
lg={4}
xl={2}>
xl={2}
style={{
overflowY: data.length > 15 ? "auto" : "visible",
}}>
<div>
{data.map((entry, index) => (
<div className={style.labelRow} key={`label-${index}`}>
Expand Down
3 changes: 2 additions & 1 deletion src/Da_Registry/stateless/PieChartGraph.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
display: flex;
justify-content: center;
align-items: center;
height: 200px;
height: 340px;
width: auto;
align-self: center;
}

Expand Down

0 comments on commit c216132

Please sign in to comment.