File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,16 +135,12 @@ <h3>
135135 padding : 8px 12px 6px 12px ;
136136}
137137
138- /* Extra vertical padding for donut chart to prevent stretching */
139- .chart-card : has (canvas # categoryDonutChart ) {
140- padding : 12px 12px ;
141- }
142-
138+ /* Donut chart centering */
143139.chart-card : has (canvas # categoryDonutChart ) {
144140 display : flex;
145141 align-items : center;
146142 justify-content : center;
147- padding : 0 px ;
143+ padding : 12 px ;
148144}
149145
150146# categoryDonutChart {
321317{% endblock %}
322318
323319{% block scripts %}
324- < script src ="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/ chart.umd. min.js "> </ script >
320+ < script src ="{{ url_for('static', filename='js/ chart.min.js') }} "> </ script >
325321< script >
326322// Get data from Flask
327323const goldValue = { { metal_breakdown. gold_value } } ;
You can’t perform that action at this time.
0 commit comments