Skip to content

Commit 3403491

Browse files
committed
fix: docs sanbox overflow
1 parent 0117503 commit 3403491

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

docs/index.html

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

112112
<div id="demo-code" resizable class="position:relative height:50%">
113113
<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>
114114
<div resize="bottom" class="background:lightgrey"></div>
115115
</div>
116116

117-
<div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
117+
<div id="demo-preview" class="position:relative overflow:auto background-color:white">
118118
<div get-value="#demo" class="padding:20px"></div>
119119
</div>
120120

package.json

Lines changed: 5 additions & 7 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",
@@ -60,9 +58,9 @@
6058
"webpack-log": "^3.0.1"
6159
},
6260
"dependencies": {
63-
"@cocreate/actions": "^1.5.47",
64-
"@cocreate/docs": "^1.5.1",
65-
"@cocreate/observer": "^1.5.51",
66-
"@cocreate/utils": "^1.17.12"
61+
"@cocreate/actions": "^1.5.48",
62+
"@cocreate/docs": "^1.5.2",
63+
"@cocreate/observer": "^1.5.52",
64+
"@cocreate/utils": "^1.17.13"
6765
}
6866
}

0 commit comments

Comments
 (0)