From 5210e14b57e1fce07552fa5dd80d72b404932534 Mon Sep 17 00:00:00 2001 From: David H Date: Sun, 26 Dec 2021 23:43:39 +0100 Subject: [PATCH] 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. --- client/themes/default/scss/app.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/client/themes/default/scss/app.scss b/client/themes/default/scss/app.scss index b80ff1ef..2b51ed72 100644 --- a/client/themes/default/scss/app.scss +++ b/client/themes/default/scss/app.scss @@ -600,6 +600,7 @@ .diagram { margin-top: 1rem; + overflow: auto; svg:first-child { direction: ltr; }