From ee3b91888fd0aa9e110d803d0a454bfe22a6eed2 Mon Sep 17 00:00:00 2001 From: 5upermario <5upermario@users.noreply.github.com> Date: Sun, 29 Dec 2019 21:59:51 +0100 Subject: [PATCH] add overflow-x: auto to view container this way we can scroll horizontally the svg inside the container --- src/components/View.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/View.svelte b/src/components/View.svelte index efc6e094..f7e1f73e 100644 --- a/src/components/View.svelte +++ b/src/components/View.svelte @@ -113,6 +113,9 @@ let insertSvg = function(svgCode, bindFunctions){ border: 1px solor darkred; flex: 1; } + #container { + overflow-x: auto; + } .error { opacity: 0.5; } @@ -120,4 +123,4 @@ let insertSvg = function(svgCode, bindFunctions){