Skip to content

Commit 1a1a391

Browse files
committed
fix: docs sanbox overflow
1 parent f70d721 commit 1a1a391

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

docs/index.html

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

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

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

package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
"html5-framework",
2222
"javascript-framework"
2323
],
24-
"publishConfig": {
25-
"access": "public"
26-
},
24+
"publishConfig": { "access": "public" },
2725
"scripts": {
2826
"start": "npx webpack --config webpack.config.js",
2927
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
@@ -61,11 +59,11 @@
6159
"webpack-log": "^3.0.1"
6260
},
6361
"dependencies": {
64-
"@cocreate/crud-client": "^1.17.8",
65-
"@cocreate/docs": "^1.5.1",
66-
"@cocreate/element-prototype": "^1.2.20",
67-
"@cocreate/floating-label": "^1.4.58",
68-
"@cocreate/hosting": "^1.7.1",
69-
"@cocreate/observer": "^1.5.51"
62+
"@cocreate/crud-client": "^1.17.9",
63+
"@cocreate/docs": "^1.5.2",
64+
"@cocreate/element-prototype": "^1.2.21",
65+
"@cocreate/floating-label": "^1.4.59",
66+
"@cocreate/hosting": "^1.7.2",
67+
"@cocreate/observer": "^1.5.52"
7068
}
7169
}

0 commit comments

Comments
 (0)