ux: constrain doughnut chart height to match other charts in row
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Added 200px fixed height container and maintainAspectRatio:false to "Typy postów" doughnut chart so second row matches first row height. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a9a23f363a
commit
60837e07fa
@ -465,7 +465,7 @@
|
||||
<div class="fb-chart-card"><h4>Engagement w czasie</h4><canvas id="engagementChart-{{ company_id_key }}"></canvas></div>
|
||||
<div class="fb-chart-card"><h4>Aktywność publikacji</h4><canvas id="activityChart-{{ company_id_key }}"></canvas></div>
|
||||
<div class="fb-chart-card"><h4>Średni engagement / miesiąc</h4><canvas id="avgEngagementChart-{{ company_id_key }}"></canvas></div>
|
||||
<div class="fb-chart-card"><h4>Typy postów</h4><canvas id="postTypesChart-{{ company_id_key }}"></canvas></div>
|
||||
<div class="fb-chart-card"><h4>Typy postów</h4><div style="height:200px;"><canvas id="postTypesChart-{{ company_id_key }}"></canvas></div></div>
|
||||
<div class="fb-chart-card"><h4>Najlepszy dzień tygodnia</h4><canvas id="bestDayChart-{{ company_id_key }}"></canvas></div>
|
||||
<div class="fb-chart-card"><h4>Najlepsza godzina</h4><canvas id="bestHourChart-{{ company_id_key }}"></canvas></div>
|
||||
<div class="fb-chart-card" style="grid-column: 1 / -1;"><h4>Top 5 postów</h4><div style="height:200px;"><canvas id="topPostsChart-{{ company_id_key }}"></canvas></div></div>
|
||||
@ -1148,6 +1148,7 @@
|
||||
},
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
plugins: { legend: { position: 'bottom', labels: { boxWidth: 12, padding: 8, font: { size: 11 } } } }
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user