Update BarChart aspect ratio and adjust dashboard max-width for better responsiveness

This commit is contained in:
Olivia Mestre Llobell 2026-02-03 20:56:04 +01:00
parent a78ed7268c
commit fe1c269d02
2 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,7 @@ export function renderBarChart(data = DEFAULT_DATA) {
options: { options: {
responsive: true, responsive: true,
maintainAspectRatio: true, maintainAspectRatio: true,
aspectRatio: 1.5,
plugins: { plugins: {
legend: { legend: {
display: false display: false

View File

@ -180,8 +180,7 @@ button:focus-visible {
} }
.dashboard { .dashboard {
max-width: 1280px; max-width: 100%;
margin: 0 auto;
padding: 2rem; padding: 2rem;
} }