{"action":"created","issue":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3073","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3073/labels{/name}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3073/comments","events_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3073/events","html_url":"https://github.com/ankidroid/Anki-Android/issues/3073","id":97670520,"number":3073,"title":"Option to remove border on sides of the screen","user":{"login":"hssm","id":789082,"avatar_url":"https://avatars.githubusercontent.com/u/789082?v=3","gravatar_id":"","url":"https://api.github.com/users/hssm","html_url":"https://github.com/hssm","followers_url":"https://api.github.com/users/hssm/followers","following_url":"https://api.github.com/users/hssm/following{/other_user}","gists_url":"https://api.github.com/users/hssm/gists{/gist_id}","starred_url":"https://api.github.com/users/hssm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hssm/subscriptions","organizations_url":"https://api.github.com/users/hssm/orgs","repos_url":"https://api.github.com/users/hssm/repos","events_url":"https://api.github.com/users/hssm/events{/privacy}","received_events_url":"https://api.github.com/users/hssm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ankidroid/Anki-Android/labels/enhancement","name":"enhancement","color":"207de5"},{"url":"https://api.github.com/repos/ankidroid/Anki-Android/labels/fixedindev","name":"fixedindev","color":"009800"},{"url":"https://api.github.com/repos/ankidroid/Anki-Android/labels/Priority-Low","name":"Priority-Low","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"ankidroid","id":3320903,"avatar_url":"https://avatars.githubusercontent.com/u/3320903?v=3","gravatar_id":"","url":"https://api.github.com/users/ankidroid","html_url":"https://github.com/ankidroid","followers_url":"https://api.github.com/users/ankidroid/followers","following_url":"https://api.github.com/users/ankidroid/following{/other_user}","gists_url":"https://api.github.com/users/ankidroid/gists{/gist_id}","starred_url":"https://api.github.com/users/ankidroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankidroid/subscriptions","organizations_url":"https://api.github.com/users/ankidroid/orgs","repos_url":"https://api.github.com/users/ankidroid/repos","events_url":"https://api.github.com/users/ankidroid/events{/privacy}","received_events_url":"https://api.github.com/users/ankidroid/received_events","type":"Organization","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/milestones/9","html_url":"https://github.com/ankidroid/Anki-Android/milestones/v2.5%20Release","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/milestones/9/labels","id":1229358,"number":9,"title":"v2.5 Release","description":"","creator":{"login":"timrae","id":2818274,"avatar_url":"https://avatars.githubusercontent.com/u/2818274?v=3","gravatar_id":"","url":"https://api.github.com/users/timrae","html_url":"https://github.com/timrae","followers_url":"https://api.github.com/users/timrae/followers","following_url":"https://api.github.com/users/timrae/following{/other_user}","gists_url":"https://api.github.com/users/timrae/gists{/gist_id}","starred_url":"https://api.github.com/users/timrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrae/subscriptions","organizations_url":"https://api.github.com/users/timrae/orgs","repos_url":"https://api.github.com/users/timrae/repos","events_url":"https://api.github.com/users/timrae/events{/privacy}","received_events_url":"https://api.github.com/users/timrae/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":1,"state":"open","created_at":"2015-07-28T12:49:44Z","updated_at":"2015-07-29T05:32:52Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-28T10:30:50Z","updated_at":"2015-09-30T16:34:01Z","closed_at":null,"body":"Originally reported on Google Code with ID 2176\n```\nWhat steps will reproduce the problem?\n1. Open any deck for review.\r\n2. Look left and right.\r\n3. You see wasted screen estate.\r\n\r\nWhat is the expected output? What do you see instead?\nI would like to use all of the available space for content, not for \"decoration\". This\nis critical on devices with smaller screens. Not everybody carries 5\" phones. Even\nif you do, it would be nice to use all of it. This is especially critical in the use\ncase I describe below.\r\n\r\nI use \r\nAnkiDroid v2.1.3 \r\non\r\nAndroid 4.3 / 4.1.2 / 4.1.1 /2.3.6\r\n(depending on the device I have closest to me).\r\n\r\nI really like your app and use it frequently, but studying countries of the world always\nangers me not to be able to use all of my screen, especially when I cannot find smaller\ncountries. I would be very happy to have such an option.\n```\n\nReported by `MorgenTee` on 2014-07-05 14:58:11\n"},"comment":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/comments/144468983","html_url":"https://github.com/ankidroid/Anki-Android/issues/3073#issuecomment-144468983","issue_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3073","id":144468983,"user":{"login":"Glutanimate","id":5459332,"avatar_url":"https://avatars.githubusercontent.com/u/5459332?v=3","gravatar_id":"","url":"https://api.github.com/users/Glutanimate","html_url":"https://github.com/Glutanimate","followers_url":"https://api.github.com/users/Glutanimate/followers","following_url":"https://api.github.com/users/Glutanimate/following{/other_user}","gists_url":"https://api.github.com/users/Glutanimate/gists{/gist_id}","starred_url":"https://api.github.com/users/Glutanimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glutanimate/subscriptions","organizations_url":"https://api.github.com/users/Glutanimate/orgs","repos_url":"https://api.github.com/users/Glutanimate/repos","events_url":"https://api.github.com/users/Glutanimate/events{/privacy}","received_events_url":"https://api.github.com/users/Glutanimate/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T16:34:01Z","updated_at":"2015-09-30T16:34:01Z","body":">And on how to actually use the full width:\r\nuse the card styling and CSS to set the margin (or left and right margins) to 0 and\r\nimage width to 100%\r\n\r\nFor some reason this doesn't seem to work for me. I've tried setting all types of margins, paddings, etc. to 0 and the dimensions to 100%, but my cards still have a small margin on all sides. Here's an excerpt of the styling I use:\r\n\r\n```css\r\n.body {\r\n  position: absolute;\r\n  margin: 0;\r\n  padding: 0;\r\n  top:0;\r\n  bottom: 0;\r\n  left: 0;\r\n  right: 0;\r\n  width: 100%;\r\n  height: 100%;\r\n}\r\n\r\n.card {\r\n  position: absolute;\r\n  margin: 0;\r\n  padding: 0;\r\n  top:0;\r\n  bottom: 0;\r\n  left: 0;\r\n  right: 0;\r\n  width: 100%;\r\n  height: 100%;\r\n}\r\n```\r\n\r\nI am using AnkiDroid 2.5alpha64 right now (latest release as of this post).\r\n\r\nHere's what my cards look like on Ankidroid (notice the margin on the left and top):\r\n\r\n![](https://i.imgur.com/jYn16GY.png)\r\n\r\nThe main reason I'd like to get rid of these margins is because I am planning on creating a Material Design inspired template with several layers. However, this will only look good if I can use the full display width."}}