Skip to content

Commit 19e4205

Browse files
committed
fix: docs sanbox overflow
1 parent b69d8d6 commit 19e4205

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
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>socket-server</span> <span class="cocreate-badge success">string</span
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: 3 additions & 11 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
"main": "./src/index",
2725
"scripts": {
2826
"demo": "PORT=5000 node demo/server.js",
@@ -39,12 +37,6 @@
3937
"url": "https://github.com/CoCreate-app/CoCreate-socket-server/issues"
4038
},
4139
"homepage": "https://cocreate.app/docs/CoCreate-socket-server",
42-
"dependencies": {
43-
"@cocreate/docs": "^1.5.1",
44-
"@cocreate/uuid": "^1.2.50"
45-
},
46-
"devDependencies": {
47-
"express": "^4.17.1",
48-
"ws": "7.5.9"
49-
}
40+
"dependencies": { "@cocreate/docs": "^1.5.2", "@cocreate/uuid": "^1.2.51" },
41+
"devDependencies": { "express": "^4.17.1", "ws": "7.5.9" }
5042
}

0 commit comments

Comments
 (0)