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:
parent
e84c15b926
commit
5210e14b57
@ -600,6 +600,7 @@
|
|||||||
|
|
||||||
.diagram {
|
.diagram {
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
overflow: auto;
|
||||||
svg:first-child {
|
svg:first-child {
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user