Skip to content

Commit 150b92a

Browse files
committed
fix: docs sanbox overflow
1 parent 84fbe6f commit 150b92a

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
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

Lines changed: 3 additions & 9 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",
2826
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
@@ -36,9 +34,7 @@
3634
},
3735
"author": "CoCreate LLC",
3836
"license": "MIT",
39-
"bugs": {
40-
"url": "https://github.com/CoCreate-app/CoCreate-parallax/issues"
41-
},
37+
"bugs": { "url": "https://github.com/CoCreate-app/CoCreate-parallax/issues" },
4238
"homepage": "https://cocreate.app/docs/parallax",
4339
"funding": {
4440
"type": "GitHub Sponsors ❤",
@@ -59,7 +55,5 @@
5955
"webpack-cli": "^4.5.0",
6056
"webpack-log": "^3.0.1"
6157
},
62-
"dependencies": {
63-
"@cocreate/docs": "^1.5.1"
64-
}
58+
"dependencies": { "@cocreate/docs": "^1.5.2" }
6559
}

0 commit comments

Comments
 (0)