Help! workpad on website not showing fullwidth


I am new to this forum and to elastic. And I have a question.

If I share a canvas workpad in static website I cannot get it to show fullwidth. On different monitors the result is either overflowing or to small.

I use the regular index html:

<!-- Include Runtime -->
<script src="..../kbn_canvas.js"></script>
<!-- Placeholder -->
<div kbn-canvas-shareable="canvas"  kbn-canvas-url="..../test.json" />
<!-- Call Runtime -->
<script type="text/javascript">

I noticed that It scales when I add kbn-canvas-width="xxx", but I cannot use vw or % with that parameter.
Does anybody have a solution for this?

Thanks in advance!

1 Like

I have the same problem. Perhaps someone here has a solution


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.