Permalink
Browse files

web: canvas always centered in browser

  • Loading branch information...
Zielak committed Oct 23, 2015
1 parent ab5fdc8 commit ae77d0f7c355a35b3baa584516a2eb846497489d
Showing with 7 additions and 3 deletions.
  1. +7 −3 custom_index.html
@@ -6,17 +6,21 @@
<link rel="icon" href="favicon.png"/>
<meta charset="utf-8">
<style> #window1 { margin: 0; padding: 0; } </style>
<style>
html { height:100%; }
body { height: 100%; padding: 0; margin: 0; background-color: #111111; }
#window1 { margin: 0; padding: 0; top: 50%; left: 50%; transform: translate(-50%,-50%); }
</style>
{{#each project.app.web.libs~}}
<script type="text/javascript" src="{{this}}"></script>
{{/each}}
</head>
<body style="padding: 0; margin: 0; background-color: #111111;">
<body>
<input type="file" id="filePicker" accept="image/*" hidden/>
<script type="text/javascript" src="./{{project.app.name}}{{#if project.app.web.min}}.min{{/if}}.js"></script>
</body>
</html>
</html>

0 comments on commit ae77d0f

Please sign in to comment.