-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG's height is overlapped by uikit.js #2510
Comments
It's not a bug in JointJS. The uikit CSS is too generic and affects the JointJS paper /* uikit.css */
canvas, img, svg, video {
max-width: 100%;
height: auto;
box-sizing: border-box;
} Adding the following CSS to your application will solve the issue. .joint-paper svg { height: 100%; } |
Thanks for ansewring, and actually I did a trick as you metioned for now.
But, I have to manage multiple graph and papers, |
I am not sure I follow. It does not matter how many papers you use on your screen. You can contact |
What happened?
I'm using jointjs@3.7.7 with uikit@3.16.22, and found an error in my sample code.
As I attched my sample code,
I tried to draw a rect in my paper, but the bottom of my rect was cut.
After tracking, I found SVG's height was overlapped by Uikit.
jointjs1.zip
Version
3.7.7
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
What operating system are you seeing the problem on?
Windows
The text was updated successfully, but these errors were encountered: