Skip to content

Commit

Permalink
fix aspect ratio on web
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamperoyge committed May 1, 2024
1 parent fd2867a commit d42264b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function LineBarChart({ title, data = null, renderComponents = null }) {
const options: ChartOptions<"line" | "bar"> = {
responsive: true,
maintainAspectRatio: true,
aspectRatio: isMobile ? 1 : 2,
aspectRatio: isMobile ? 1 : 3,
plugins: {
legend: {
position: "top",
Expand Down

0 comments on commit d42264b

Please sign in to comment.