{"action":"opened","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/2857","repository_url":"https://api.github.com/repos/koreader/koreader","labels_url":"https://api.github.com/repos/koreader/koreader/issues/2857/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/2857/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/2857/events","html_url":"https://github.com/koreader/koreader/issues/2857","id":226408787,"number":2857,"title":"CSS: Hanging indents are shifted to the right","user":{"login":"a-kohout","id":26367956,"avatar_url":"https://avatars3.githubusercontent.com/u/26367956?v=3","gravatar_id":"","url":"https://api.github.com/users/a-kohout","html_url":"https://github.com/a-kohout","followers_url":"https://api.github.com/users/a-kohout/followers","following_url":"https://api.github.com/users/a-kohout/following{/other_user}","gists_url":"https://api.github.com/users/a-kohout/gists{/gist_id}","starred_url":"https://api.github.com/users/a-kohout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-kohout/subscriptions","organizations_url":"https://api.github.com/users/a-kohout/orgs","repos_url":"https://api.github.com/users/a-kohout/repos","events_url":"https://api.github.com/users/a-kohout/events{/privacy}","received_events_url":"https://api.github.com/users/a-kohout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-04T21:06:34Z","updated_at":"2017-05-04T21:06:34Z","closed_at":null,"body":"* KOReader version: v2015.11-1024-g3b813c7\r\n* Device: Emulator\r\n\r\n#### Issue\r\nHanging indents seem to be miscalculated.\r\nA p block with a hanging indent is shifted to the right by an equal amount.\r\n\r\nKoreader:\r\n![screen shot 2017-05-04 at 23 00 42](https://cloud.githubusercontent.com/assets/26367956/25724853/b76fe9ee-311d-11e7-80c5-952307415bdc.png)\r\n\r\nExpected:\r\n![screen shot 2017-05-04 at 23 00 48](https://cloud.githubusercontent.com/assets/26367956/25724857/bcd6c7d6-311d-11e7-801a-b15bc1723f3d.png)\r\n\r\nCSS:\r\n```\r\np {\r\n  text-indent: 0;\r\n  margin: 0;\r\n}\r\n\r\np.hangingindent {\r\n  text-indent: -1.5em;\r\n  padding-left: 1.5em;\r\n}\r\n```\r\n\r\nHTML:\r\n```\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\r\n<p class=\"hangingindent\">Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>\r\n```\r\n\r\n#### Steps to reproduce\r\n[untitled.epub.zip](https://github.com/koreader/koreader/files/977559/untitled.epub.zip)"}}
{"actor":{"display_login":"a-kohout"}}