fix: add scrollbar for big diagrams (#4120)

In case of large DrawIO diagrams, today it is sometimes impossible to display it totally on the screen.
This quick workaround provides a way to enable a scrollbar if the width of the diagram is higher than the browser/screen width.
pull/4941/head 2.5.268
David H 3 years ago committed by GitHub
parent e84c15b926
commit 5210e14b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -600,6 +600,7 @@
.diagram {
margin-top: 1rem;
overflow: auto;
svg:first-child {
direction: ltr;
}

Loading…
Cancel
Save