{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/themes/issues/404","repository_url":"https://api.github.com/repos/Automattic/themes","labels_url":"https://api.github.com/repos/Automattic/themes/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/themes/issues/404/comments","events_url":"https://api.github.com/repos/Automattic/themes/issues/404/events","html_url":"https://github.com/Automattic/themes/issues/404","id":385952037,"node_id":"MDU6SXNzdWUzODU5NTIwMzc=","number":404,"title":"Libre 2: Smaller images in image blocks can't be aligned centre","user":{"login":"laurelfulford","id":177561,"node_id":"MDQ6VXNlcjE3NzU2MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/177561?v=4","gravatar_id":"","url":"https://api.github.com/users/laurelfulford","html_url":"https://github.com/laurelfulford","followers_url":"https://api.github.com/users/laurelfulford/followers","following_url":"https://api.github.com/users/laurelfulford/following{/other_user}","gists_url":"https://api.github.com/users/laurelfulford/gists{/gist_id}","starred_url":"https://api.github.com/users/laurelfulford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurelfulford/subscriptions","organizations_url":"https://api.github.com/users/laurelfulford/orgs","repos_url":"https://api.github.com/users/laurelfulford/repos","events_url":"https://api.github.com/users/laurelfulford/events{/privacy}","received_events_url":"https://api.github.com/users/laurelfulford/received_events","type":"User","site_admin":false},"labels":[{"id":814213094,"node_id":"MDU6TGFiZWw4MTQyMTMwOTQ=","url":"https://api.github.com/repos/Automattic/themes/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":815306944,"node_id":"MDU6TGFiZWw4MTUzMDY5NDQ=","url":"https://api.github.com/repos/Automattic/themes/labels/needs%20patch","name":"needs patch","color":"c5def5","default":false},{"id":815306678,"node_id":"MDU6TGFiZWw4MTUzMDY2Nzg=","url":"https://api.github.com/repos/Automattic/themes/labels/support","name":"support","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/themes/milestones/21","html_url":"https://github.com/Automattic/themes/milestone/21","labels_url":"https://api.github.com/repos/Automattic/themes/milestones/21/labels","id":3101654,"node_id":"MDk6TWlsZXN0b25lMzEwMTY1NA==","number":21,"title":"Libre 2","description":"","creator":{"login":"sixhours","id":2124984,"node_id":"MDQ6VXNlcjIxMjQ5ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2124984?v=4","gravatar_id":"","url":"https://api.github.com/users/sixhours","html_url":"https://github.com/sixhours","followers_url":"https://api.github.com/users/sixhours/followers","following_url":"https://api.github.com/users/sixhours/following{/other_user}","gists_url":"https://api.github.com/users/sixhours/gists{/gist_id}","starred_url":"https://api.github.com/users/sixhours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sixhours/subscriptions","organizations_url":"https://api.github.com/users/sixhours/orgs","repos_url":"https://api.github.com/users/sixhours/repos","events_url":"https://api.github.com/users/sixhours/events{/privacy}","received_events_url":"https://api.github.com/users/sixhours/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2018-02-09T02:13:04Z","updated_at":"2018-11-29T22:21:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-11-29T22:21:09Z","updated_at":"2018-11-29T22:21:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Moved from here: https://github.com/Automattic/wp-calypso/issues/28756#issuecomment-441827549\r\n\r\nWhen you centre a small image block, it doesn't actually display as centred on the front-end. The issue looks to be related to these styles here setting the margins to 0, but it needs investigating: \r\n\r\nhttps://github.com/Automattic/themes/blob/master/libre-2/css/blocks.css#L78-L83\r\n\r\n## Steps to replicate\r\n\r\n1. Using a site that has Libre 2, add an image block.\r\n2. Add an image to that block, and if it's not small, scale it down.\r\n3. Centre the block. \r\n\r\n## Result\r\n\r\nThe block is centred in the editor, but not on the front-end.\r\n\r\n* User report: https://en.forums.wordpress.com/topic/centering-images-4/\r\n* User's site (with example of issue):  https://silverwilderness.wordpress.com/2018/11/28/romance-in-ya-is-not-realistic/\r\n"}}
{"actor":{"display_login":"laurelfulford"}}