{"action":"created","issue":{"url":"https://api.github.com/repos/artberri/sidr/issues/187","labels_url":"https://api.github.com/repos/artberri/sidr/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/artberri/sidr/issues/187/comments","events_url":"https://api.github.com/repos/artberri/sidr/issues/187/events","html_url":"https://github.com/artberri/sidr/issues/187","id":37292026,"number":187,"title":"Add option for displace to resize displaced element's width","user":{"login":"fpayer","id":5153189,"avatar_url":"https://avatars.githubusercontent.com/u/5153189?v=3","gravatar_id":"","url":"https://api.github.com/users/fpayer","html_url":"https://github.com/fpayer","followers_url":"https://api.github.com/users/fpayer/followers","following_url":"https://api.github.com/users/fpayer/following{/other_user}","gists_url":"https://api.github.com/users/fpayer/gists{/gist_id}","starred_url":"https://api.github.com/users/fpayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpayer/subscriptions","organizations_url":"https://api.github.com/users/fpayer/orgs","repos_url":"https://api.github.com/users/fpayer/repos","events_url":"https://api.github.com/users/fpayer/events{/privacy}","received_events_url":"https://api.github.com/users/fpayer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/artberri/sidr/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-07-07T17:43:56Z","updated_at":"2016-01-09T23:55:08Z","closed_at":"2016-01-09T23:55:08Z","body":"There should be a way to set a displaced element's width to shrink when sidr is opened. Doing so will fix issues with center-aligning things inside the displaced object.\r\n\r\nEven your site(http://www.berriart.com/sidr/), opening sidr only pushes the body to the left or right. This triggers horizontal scrolling and does not allow the rest of the content on the page to be centered properly. \r\n\r\nI tried modifying the source to set the width properly in the transition, but it does a weird rubber-banding thing where it moves to one side with the left/right change and then the other direction with the width resize. "},"comment":{"url":"https://api.github.com/repos/artberri/sidr/issues/comments/170294654","html_url":"https://github.com/artberri/sidr/issues/187#issuecomment-170294654","issue_url":"https://api.github.com/repos/artberri/sidr/issues/187","id":170294654,"user":{"login":"artberri","id":454523,"avatar_url":"https://avatars.githubusercontent.com/u/454523?v=3","gravatar_id":"","url":"https://api.github.com/users/artberri","html_url":"https://github.com/artberri","followers_url":"https://api.github.com/users/artberri/followers","following_url":"https://api.github.com/users/artberri/following{/other_user}","gists_url":"https://api.github.com/users/artberri/gists{/gist_id}","starred_url":"https://api.github.com/users/artberri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artberri/subscriptions","organizations_url":"https://api.github.com/users/artberri/orgs","repos_url":"https://api.github.com/users/artberri/repos","events_url":"https://api.github.com/users/artberri/events{/privacy}","received_events_url":"https://api.github.com/users/artberri/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T23:55:08Z","updated_at":"2016-01-09T23:55:08Z","body":"Sorry this option will not be added, there are only two behaivours displace or not that you can set in options."}}