add overflow-x: auto to view container

this way we can scroll horizontally the svg inside the container
This commit is contained in:
5upermario
2019-12-29 21:59:51 +01:00
committed by GitHub
parent 5d4364f6b5
commit ee3b91888f
+4 -1
View File
@@ -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){
<div id="view" class="{codeClasses} {configClasses}">
<div id="container" bind:this={container}></div>
</div>
</div>