Skip to content

Commit 77aae52

Browse files
committed
fix: docs sanbox overflow
1 parent dd70dcc commit 77aae52

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ <h2 class="padding:5px_0px">Demo</h2>
9696
</div>
9797
<div class="position:sticky top:0 padding:15px_0px height:100vh">
9898
<!-- SandBox -->
99-
<div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
99+
<div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
100100

101101
<div id="demo-code" resizable class="position:relative height:50%">
102102
<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>
103103
<div resize="bottom" class="background:lightgrey"></div>
104104
</div>
105105

106-
<div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
106+
<div id="demo-preview" class="position:relative overflow:auto background-color:white">
107107
<div get-value="#demo" class="padding:20px"></div>
108108
</div>
109109

package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"name": "@cocreate/docs",
33
"version": "1.5.2",
44
"description": "Documentation generator ",
5-
"keywords": [
6-
"cocreate",
7-
"lowcode",
8-
"doc-generator"
9-
],
5+
"keywords": ["cocreate", "lowcode", "doc-generator"],
106
"main": "app.js",
117
"scripts": {
128
"test": "echo \"Error: no test specified\" && exit 1",
@@ -21,13 +17,11 @@
2117
},
2218
"author": "CoCreate LLC",
2319
"license": "MIT",
24-
"bugs": {
25-
"url": "https://github.com/CoCreate-app/CoCreate-docs/issues"
26-
},
20+
"bugs": { "url": "https://github.com/CoCreate-app/CoCreate-docs/issues" },
2721
"homepage": "https://github.com/CoCreate-app/CoCreate-docs#readme",
2822
"dependencies": {
29-
"@cocreate/crud-client": "^1.17.8",
30-
"@cocreate/hosting": "^1.7.1",
23+
"@cocreate/crud-client": "^1.17.9",
24+
"@cocreate/hosting": "^1.7.2",
3125
"extract-comments": "^1.1.0",
3226
"glob": "^7.1.6",
3327
"mime-types": "^2.1.35",

0 commit comments

Comments
 (0)