Autosave: 20260126-175314

This commit is contained in:
Flatlogic Bot 2026-01-26 17:53:15 +00:00
parent e27928f933
commit 63818c6fe3

View File

@ -99,6 +99,13 @@
border: 1px solid #e5e7eb; border: 1px solid #e5e7eb;
} }
/* Fix for Chart.js infinite growth loop */
.chart-wrapper {
position: relative;
height: 300px;
width: 100%;
}
.section-title { .section-title {
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 600; font-weight: 600;
@ -215,7 +222,9 @@
<div class="charts-grid"> <div class="charts-grid">
<div class="chart-container"> <div class="chart-container">
<h3 class="section-title">{% trans "Shipments Overview (Last 7 Days)" %}</h3> <h3 class="section-title">{% trans "Shipments Overview (Last 7 Days)" %}</h3>
<canvas id="shipmentsChart" height="150"></canvas> <div class="chart-wrapper">
<canvas id="shipmentsChart"></canvas>
</div>
</div> </div>
<div class="recent-activity"> <div class="recent-activity">