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