Skip to content

Commit 32abc04

Browse files
committed
fix height of charts
fixes bug introduced in #175
1 parent 9efd4e6 commit 32abc04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sqlpage/templates/chart.handlebars

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
class="card my-2 {{class}}"
44
data-pre-init="chart"
55
data-js="/{{static_path 'apexcharts.js'}}"
6+
style="height: {{default height 250}}px;"
67
>
78
<div class="card-body">
89
<div class="d-flex">
910
<h3 class="card-title">{{title}}</h3>
1011
</div>
11-
<div class="chart" style="height: {{default height 250}}px;">
12+
<div class="chart">
1213
<div class="d-flex justify-content-center h-100 align-items-center">
1314
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem;">
1415
<span class="visually-hidden">Loading...</span>

0 commit comments

Comments
 (0)