Skip to content

Commit fdf43ff

Browse files
author
Kevin Hannegan
committed
clear max-height
1 parent 97909e9 commit fdf43ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

presalytics/lib/widgets/chart.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def standalone_html(self) -> str:
183183
var width = document.querySelector('#chart').offsetWidth;
184184
var newHeight = width * aspectRatio;
185185
chart.resize({width: newHeight});
186+
chart.internal.selectChart.style('max-height', 'none');
186187
}
187188
188189
const observer = new ResizeObserver(c3Resize);

0 commit comments

Comments
 (0)