Skip to content

Commit 97ed633

Browse files
committed
fix: docs sanbox overflow
1 parent fdc6149 commit 97ed633

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

docs/index.html

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

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

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

package.json

+3-9
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",
2826
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
@@ -35,9 +33,7 @@
3533
},
3634
"author": "CoCreate LLC",
3735
"license": "MIT",
38-
"bugs": {
39-
"url": "https://github.com/CoCreate-app/CoCreate-kanban/issues"
40-
},
36+
"bugs": { "url": "https://github.com/CoCreate-app/CoCreate-kanban/issues" },
4137
"homepage": "https://cocreate.app/docs/kanban",
4238
"funding": {
4339
"type": "GitHub Sponsors ❤",
@@ -57,7 +53,5 @@
5753
"webpack-cli": "^4.5.0",
5854
"webpack-log": "^3.0.1"
5955
},
60-
"dependencies": {
61-
"@cocreate/docs": "^1.5.1"
62-
}
56+
"dependencies": { "@cocreate/docs": "^1.5.2" }
6357
}

src/form.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,6 @@ <h3 collection="modules" document_id="" name="name">Status Name</h3>
234234
</main>
235235
</body>
236236

237-
<script src="https://cdn.cocreate.app/1.37.1/CoCreate.min.js" ></script>
237+
<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js" ></script>
238238

239239
</html>

src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h3>{{document.name}}</h3>
157157

158158
</div>
159159

160-
<script src="https://cdn.cocreate.app/1.37.1/CoCreate.min.js" ></script>
160+
<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js" ></script>
161161

162162
</body>
163163

0 commit comments

Comments
 (0)