Skip to content

Commit

Permalink
styles: Update pie chart styles
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGT96 committed Dec 13, 2024
1 parent 219c014 commit 0d04cc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/accessories/charts/pie/Piechart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ export const Piechart: FC<IOwnProps> = ({ data, title, height, width }) => {
const options = {
responsive: true,
maintainAspectRatio: true,
aspectRatio: 1,
plugins: {
legend: {
position: "bottom" as const,
maxHeight: 100,
width: "100px",
},
title: {
display: title !== undefined,
Expand Down
1 change: 0 additions & 1 deletion src/components/accessories/charts/pie/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ canvas {
height: 100% !important;
width: unset !important;
max-height: calc(100% - 100px) !important;
aspect-ratio: 1 !important;
}

0 comments on commit 0d04cc2

Please sign in to comment.