Closed MaleehaYasvi closed 2 years ago
Hi @MaleehaYasvi
Try: https://github.com/jerosoler/Drawflow/issues/123#issuecomment-784149366
No, its not working
Can you detail more information about your code?
Does it have a fixed high or a percentage? Can you try a fixed?
position: relative; text-align:fixed; width: calc(100vw - 301px); height: calc(100% - 90px); top: 40px; 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); } This is the css I have written
Try for discart:
#drawflow {
...
width: 800px;
height:800px;
...
}
I tried, it is not working
Is there any other way we can do to resolve this?
Can you provide your code?
Or better yet! Create a codesanbox code?
Are you using some kind of library? Bootstrap type? Can you remove the css from the library to discard?
I am using materialise css and doing this in vue 2
Can you provide an example of your code in codesandbox, codepen ...?
https://codepen.io/KikePuma/pen/OJXXXdb I am following this code
That code is working.
We need to see the code that is not working.
Its working now. I added margin in connection in css.