Reports pie chart aspect ratio enhancement.

This commit is contained in:
Greg 2025-05-10 23:21:30 +02:00
parent f2ead5dbac
commit f8be60254c

View File

@ -24,9 +24,9 @@
box-sizing: border-box; box-sizing: border-box;
} }
.chart-container.large-chart canvas { .chart-container.large-chart canvas {
max-width: 100%; display: block;
height: 370px !important; margin: 0 auto;
width: 100% !important; /* Remove forced width: 100% to preserve aspect ratio */
} }
h2 { color: #948979; font-size: 1.1em; margin-bottom: 0.5em; } h2 { color: #948979; font-size: 1.1em; margin-bottom: 0.5em; }
a, button { color: #222831; background: #948979; border: none; padding: 0.7em 1.5em; border-radius: 4px; font-weight: bold; font-size: 1em; transition: background 0.2s; cursor: pointer; text-decoration: none; } a, button { color: #222831; background: #948979; border: none; padding: 0.7em 1.5em; border-radius: 4px; font-weight: bold; font-size: 1em; transition: background 0.2s; cursor: pointer; text-decoration: none; }