Skip to content

Commit

Permalink
fix: docs sanbox overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 1, 2023
1 parent bfc7697 commit 769493e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ <h4><span>file-server</span> <span class="cocreate-badge success">string</span>
<h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
<div class="position:sticky top:0 padding:10px_0px height:100vh">
<!-- SandBox -->
<div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
<div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">

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

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

Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"html5-framework",
"javascript-framework"
],
"publishConfig": {
"access": "public"
},
"publishConfig": { "access": "public" },
"scripts": {
"start": "npx webpack --config webpack.config.js",
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
Expand Down Expand Up @@ -60,8 +58,8 @@
"webpack-log": "^3.0.1"
},
"dependencies": {
"@cocreate/docs": "^1.5.1",
"@cocreate/hosting": "^1.7.1",
"@cocreate/docs": "^1.5.2",
"@cocreate/hosting": "^1.7.2",
"express": "^4.18.2"
}
}

0 comments on commit 769493e

Please sign in to comment.