Skip to content

Commit 2f19738

Browse files
committed
fix: docs sanbox overflow
1 parent e025c38 commit 2f19738

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ <h4><span>node-autoscaler</span> <span class="cocreate-badge success">string</sp
6161

6262
<div class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
6363
<!-- SandBox -->
64-
<div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
64+
<div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
6565

6666
<div id="demo-code" resizable class="position:relative height:50%">
6767
<textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
6868
<div resize="bottom" class="background:lightgrey"></div>
6969
</div>
7070

71-
<div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
71+
<div id="demo-preview" class="position:relative overflow:auto background-color:white">
7272
<div get-value="#demo" class="padding:20px"></div>
7373
</div>
7474

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"html5-framework",
2121
"javascript-framework"
2222
],
23-
"publishConfig": {
24-
"access": "public"
25-
},
23+
"publishConfig": { "access": "public" },
2624
"scripts": {
2725
"start": "npx webpack --config webpack.config.js --watch",
2826
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
@@ -48,7 +46,5 @@
4846
"webpack-cli": "^4.3.1",
4947
"webpack-log": "^3.0.1"
5048
},
51-
"dependencies": {
52-
"@cocreate/docs": "^1.5.1"
53-
}
49+
"dependencies": { "@cocreate/docs": "^1.5.2" }
5450
}

0 commit comments

Comments
 (0)