{"action":"created","issue":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/2281","repository_url":"https://api.github.com/repos/kenwheeler/slick","labels_url":"https://api.github.com/repos/kenwheeler/slick/issues/2281/labels{/name}","comments_url":"https://api.github.com/repos/kenwheeler/slick/issues/2281/comments","events_url":"https://api.github.com/repos/kenwheeler/slick/issues/2281/events","html_url":"https://github.com/kenwheeler/slick/issues/2281","id":151408895,"number":2281,"title":"If slidesToShow is more than one, slide  width calc is incorect","user":{"login":"danyj","id":2340172,"avatar_url":"https://avatars.githubusercontent.com/u/2340172?v=3","gravatar_id":"","url":"https://api.github.com/users/danyj","html_url":"https://github.com/danyj","followers_url":"https://api.github.com/users/danyj/followers","following_url":"https://api.github.com/users/danyj/following{/other_user}","gists_url":"https://api.github.com/users/danyj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyj/subscriptions","organizations_url":"https://api.github.com/users/danyj/orgs","repos_url":"https://api.github.com/users/danyj/repos","events_url":"https://api.github.com/users/danyj/events{/privacy}","received_events_url":"https://api.github.com/users/danyj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kenwheeler/slick/labels/Enhancement","name":"Enhancement","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-27T15:03:48Z","updated_at":"2016-04-27T18:41:18Z","closed_at":null,"body":"I am placing few divs inside slides and they come with a 1px border\r\nI also used this approach to separate the slides \r\n\r\n```\r\n.slick-slide {\r\n    margin-left:40px;\r\n}\r\n/* the parent */\r\n.slick-list {\r\n    margin-left:-40px;\r\n}\r\n```\r\nhttps://github.com/kenwheeler/slick/issues/582#issuecomment-61882540\r\n\r\nnow if slidesToShow  are set at odd number the width of the slides is wrong and is not taking in count the inside div border , so the last item border is not visible  and you can see this here , \r\n\r\n![screenshot_4](https://cloud.githubusercontent.com/assets/2340172/14856750/a464a65e-0c99-11e6-9682-2be32ff20cd5.jpg)\r\n\r\nor live example   https://jsfiddle.net/fmo50w7n/346/\r\n\r\nIf I change the slidesToShow   to 2 \r\nhttps://jsfiddle.net/fmo50w7n/347/\r\n\r\nthe division is ok and  last item border is visible. \r\n\r\nNow this is just an example of particular space between slides + border  but my slick is going to be used by multiple users and I cannot guess if they will have the border inside and what size that border will be. Looks to me like the width calc is not taking everything in count or it simply cannot divide odd number properly so it rounds it up., \r\n\r\n\r\n\r\n\r\n\r\nAny help is appreciated. "},"comment":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/comments/215187361","html_url":"https://github.com/kenwheeler/slick/issues/2281#issuecomment-215187361","issue_url":"https://api.github.com/repos/kenwheeler/slick/issues/2281","id":215187361,"user":{"login":"danyj","id":2340172,"avatar_url":"https://avatars.githubusercontent.com/u/2340172?v=3","gravatar_id":"","url":"https://api.github.com/users/danyj","html_url":"https://github.com/danyj","followers_url":"https://api.github.com/users/danyj/followers","following_url":"https://api.github.com/users/danyj/following{/other_user}","gists_url":"https://api.github.com/users/danyj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyj/subscriptions","organizations_url":"https://api.github.com/users/danyj/orgs","repos_url":"https://api.github.com/users/danyj/repos","events_url":"https://api.github.com/users/danyj/events{/privacy}","received_events_url":"https://api.github.com/users/danyj/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T18:41:18Z","updated_at":"2016-04-27T18:41:18Z","body":"ok fund my bug but at the same time yours , it is not calc division \r\nI have the slider inside a container called related-container , and it has `overflow:hidden;`\r\nI was forced to add overflow because slick goes over \r\n\r\nhttps://jsfiddle.net/bja34r13/1/\r\n\r\nif I remove the overflow the slider goes over by few px  and the last item border shows up \r\nhttp://prnt.sc/axlhjn"}}