Closed Sispheor closed 3 years ago
Hello @Sispheor
with a naked eye add style
<style>
#drawflow {
position: relative;
width: 90vw;
height: 800px;
border: 1px solid red;
}
</style>
Or view example:
https://github.com/jerosoler/Drawflow/issues/187#issuecomment-862554533
Jero
Ok, it works only if I place the style at the end of my html. Not in the header.
<div class="content-wrapper">
<div class="content">
<div class="container-fluid">
<div id="drawflow"></div>
</div>
</div>
</div>
<style>
#drawflow {
position: relative;
width: 90vw;
height: 800px;
background: var(--background-color);
background-size: 25px 25px;
background-image:
linear-gradient(to right, #f1f1f1 1px, transparent 1px),
linear-gradient(to bottom, #f1f1f1 1px, transparent 1px);
}
</style>
Thanks for your help !
Hi,
I'm trying to just evaluate the lib. And the demo example is not appearing in the page.
I'm using bootstrap 4 (with AdminLTE template) but I tried as well in an empty page. The dom is ok but it's like the CSS is not applied.
Here is a sample code I tried (no boostrap here)
Did I miss something? Thanks for your support. And thanks for the job done on this lib. (Even if I'm not able to use it XD)