{"action":"created","issue":{"url":"https://api.github.com/repos/selfthinker/dokuwiki_plugin_wrap/issues/104","labels_url":"https://api.github.com/repos/selfthinker/dokuwiki_plugin_wrap/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/selfthinker/dokuwiki_plugin_wrap/issues/104/comments","events_url":"https://api.github.com/repos/selfthinker/dokuwiki_plugin_wrap/issues/104/events","html_url":"https://github.com/selfthinker/dokuwiki_plugin_wrap/issues/104","id":78629125,"number":104,"title":"Wrong padding for boxes with icon in print.css","user":{"login":"LarsGit223","id":9009011,"avatar_url":"https://avatars.githubusercontent.com/u/9009011?v=3","gravatar_id":"","url":"https://api.github.com/users/LarsGit223","html_url":"https://github.com/LarsGit223","followers_url":"https://api.github.com/users/LarsGit223/followers","following_url":"https://api.github.com/users/LarsGit223/following{/other_user}","gists_url":"https://api.github.com/users/LarsGit223/gists{/gist_id}","starred_url":"https://api.github.com/users/LarsGit223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarsGit223/subscriptions","organizations_url":"https://api.github.com/users/LarsGit223/orgs","repos_url":"https://api.github.com/users/LarsGit223/repos","events_url":"https://api.github.com/users/LarsGit223/events{/privacy}","received_events_url":"https://api.github.com/users/LarsGit223/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-20T18:06:36Z","updated_at":"2015-05-24T14:37:22Z","closed_at":"2015-05-24T14:37:22Z","body":"Hi,\r\n\r\nthe padding for boxes with icons in print.css seems to be wrong. The text is printed over the icon when I export wrap boxes to pdf (with bookcreator, dw2pdf plugins).\r\n\r\nThe following patch fixes the issue:\r\n\r\n``` .patch\r\n@@ -9,7 +9,7 @@\r\n .dokuwiki div.wrap_danger, .dokuwiki div.wrap_warning, .dokuwiki div.wrap_caution, .dokuwiki div.wrap_notice, .dokuwiki div.wrap_safety,\r\n .dokuwiki div.wrap_info, .dokuwiki div.wrap_important, .dokuwiki div.wrap_alert, .dokuwiki div.wrap_tip, .dokuwiki div.wrap_help, .dokuwiki div.wrap_todo, .dokuwiki div.wrap_download {\r\n     border: 2px solid #999;\r\n-    padding: 1em 1em .5em;\r\n+    padding: 1em 1em .5em 70px;\r\n     margin-bottom: 1.5em;\r\n }\r\n .dokuwiki span.wrap_box,\r\n```\r\n\r\nGreetings, Lars"},"comment":{"url":"https://api.github.com/repos/selfthinker/dokuwiki_plugin_wrap/issues/comments/105021517","html_url":"https://github.com/selfthinker/dokuwiki_plugin_wrap/issues/104#issuecomment-105021517","issue_url":"https://api.github.com/repos/selfthinker/dokuwiki_plugin_wrap/issues/104","id":105021517,"user":{"login":"selfthinker","id":108893,"avatar_url":"https://avatars.githubusercontent.com/u/108893?v=3","gravatar_id":"","url":"https://api.github.com/users/selfthinker","html_url":"https://github.com/selfthinker","followers_url":"https://api.github.com/users/selfthinker/followers","following_url":"https://api.github.com/users/selfthinker/following{/other_user}","gists_url":"https://api.github.com/users/selfthinker/gists{/gist_id}","starred_url":"https://api.github.com/users/selfthinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfthinker/subscriptions","organizations_url":"https://api.github.com/users/selfthinker/orgs","repos_url":"https://api.github.com/users/selfthinker/repos","events_url":"https://api.github.com/users/selfthinker/events{/privacy}","received_events_url":"https://api.github.com/users/selfthinker/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T14:37:21Z","updated_at":"2015-05-24T14:37:21Z","body":"> My first attempt exporting to pdf ended up in having all boxes exported only with a border and text. No background-image, no background color. So that is the correct behaviour in print mode?\r\n\r\nYes, that's how it should be. However, this is due to most browsers not printing background colours or images by default. It should probably behave differently for PDFs. Maybe there should be a separate `pdf.css` for that..."}}