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.
This commit is contained in:
David H
2021-12-26 23:43:39 +01:00
committed by GitHub
parent e84c15b926
commit 5210e14b57

View File

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