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 cac757c commit 27c029b
Show file tree
Hide file tree
Showing 2 changed files with 7 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 @@ -69,14 +69,14 @@ <h4><span>cli</span> <span class="cocreate-badge success">string</span> <span cl
<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
16 changes: 5 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": {
"test": "echo \"Error: no test specified\" && exit 1",
"automated": "nodejs src/commands/fs/automated.js",
Expand All @@ -45,18 +43,14 @@
},
"author": "CoCreate LLC",
"license": "MIT",
"bugs": {
"url": "https://github.com/CoCreate-app/CoCreate-cli/issues"
},
"bugs": { "url": "https://github.com/CoCreate-app/CoCreate-cli/issues" },
"homepage": "https://cocreate.app/docs/cli",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/CoCreate-app"
},
"main": "index.js",
"bin": {
"coc": "src/coc.js"
},
"bin": { "coc": "src/coc.js" },
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
Expand All @@ -72,8 +66,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",
"colors": "latest",
"glob": "^7.1.7",
"got": "latest",
Expand Down

0 comments on commit 27c029b

Please sign in to comment.