{"action":"created","issue":{"url":"https://api.github.com/repos/rastating/pixel.js/issues/10","labels_url":"https://api.github.com/repos/rastating/pixel.js/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/rastating/pixel.js/issues/10/comments","events_url":"https://api.github.com/repos/rastating/pixel.js/issues/10/events","html_url":"https://github.com/rastating/pixel.js/issues/10","id":115750565,"number":10,"title":"Canvas size overflows container size","user":{"login":"noamt","id":499771,"avatar_url":"https://avatars.githubusercontent.com/u/499771?v=3","gravatar_id":"","url":"https://api.github.com/users/noamt","html_url":"https://github.com/noamt","followers_url":"https://api.github.com/users/noamt/followers","following_url":"https://api.github.com/users/noamt/following{/other_user}","gists_url":"https://api.github.com/users/noamt/gists{/gist_id}","starred_url":"https://api.github.com/users/noamt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noamt/subscriptions","organizations_url":"https://api.github.com/users/noamt/orgs","repos_url":"https://api.github.com/users/noamt/repos","events_url":"https://api.github.com/users/noamt/events{/privacy}","received_events_url":"https://api.github.com/users/noamt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-08T18:26:36Z","updated_at":"2015-11-08T19:37:21Z","closed_at":"2015-11-08T19:37:21Z","body":"Thanks for great a great job on this framework!\r\n\r\nI'm following and slightly customizing the Coin Collector example for my own game ([CodeWash](https://github.com/noamt/codewash/tree/master/web)) and I'm seeing an issue where these lines in `pixel.js` :\r\n\r\n```javascript\r\nthis._canvas.style.width = '100%';\r\nthis._canvas.style.height = '100%';\r\n```\r\n\r\nCause my background tiles to cover the complete webpage rather than fill the `game_container` div.\r\nIs there any way to solve this other than comment out these lines?"},"comment":{"url":"https://api.github.com/repos/rastating/pixel.js/issues/comments/154860369","html_url":"https://github.com/rastating/pixel.js/issues/10#issuecomment-154860369","issue_url":"https://api.github.com/repos/rastating/pixel.js/issues/10","id":154860369,"user":{"login":"noamt","id":499771,"avatar_url":"https://avatars.githubusercontent.com/u/499771?v=3","gravatar_id":"","url":"https://api.github.com/users/noamt","html_url":"https://github.com/noamt","followers_url":"https://api.github.com/users/noamt/followers","following_url":"https://api.github.com/users/noamt/following{/other_user}","gists_url":"https://api.github.com/users/noamt/gists{/gist_id}","starred_url":"https://api.github.com/users/noamt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noamt/subscriptions","organizations_url":"https://api.github.com/users/noamt/orgs","repos_url":"https://api.github.com/users/noamt/repos","events_url":"https://api.github.com/users/noamt/events{/privacy}","received_events_url":"https://api.github.com/users/noamt/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T19:37:21Z","updated_at":"2015-11-08T19:37:21Z","body":"Sorry for the n00b question, I'll read up on this. Thanks again!"}}