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 0de87ac commit ed94bbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 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>codearea</span> <span class="cocreate-badge success">string</span> <sp
<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
18 changes: 7 additions & 11 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 All @@ -36,9 +34,7 @@
},
"author": "CoCreate LLC",
"license": "MIT",
"bugs": {
"url": "https://github.com/CoCreate-app/CoCreate-codearea/issues"
},
"bugs": { "url": "https://github.com/CoCreate-app/CoCreate-codearea/issues" },
"homepage": "https://cocreate.app/docs/codearea",
"funding": {
"type": "GitHub Sponsors ❤",
Expand All @@ -60,10 +56,10 @@
"webpack-log": "^3.0.1"
},
"dependencies": {
"@cocreate/docs": "^1.5.1",
"@cocreate/hosting": "^1.7.1",
"@cocreate/observer": "^1.5.51",
"@cocreate/prism": "^1.2.9",
"@cocreate/utils": "^1.17.12"
"@cocreate/docs": "^1.5.2",
"@cocreate/hosting": "^1.7.2",
"@cocreate/observer": "^1.5.52",
"@cocreate/prism": "^1.2.10",
"@cocreate/utils": "^1.17.13"
}
}

0 comments on commit ed94bbb

Please sign in to comment.