{"action":"opened","issue":{"url":"https://api.github.com/repos/leafo/sticky-kit/issues/153","labels_url":"https://api.github.com/repos/leafo/sticky-kit/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/leafo/sticky-kit/issues/153/comments","events_url":"https://api.github.com/repos/leafo/sticky-kit/issues/153/events","html_url":"https://github.com/leafo/sticky-kit/issues/153","id":127895979,"number":153,"title":"Disable with css on small screens (remove the spacer)","user":{"login":"ConstantMath","id":2924851,"avatar_url":"https://avatars.githubusercontent.com/u/2924851?v=3","gravatar_id":"","url":"https://api.github.com/users/ConstantMath","html_url":"https://github.com/ConstantMath","followers_url":"https://api.github.com/users/ConstantMath/followers","following_url":"https://api.github.com/users/ConstantMath/following{/other_user}","gists_url":"https://api.github.com/users/ConstantMath/gists{/gist_id}","starred_url":"https://api.github.com/users/ConstantMath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConstantMath/subscriptions","organizations_url":"https://api.github.com/users/ConstantMath/orgs","repos_url":"https://api.github.com/users/ConstantMath/repos","events_url":"https://api.github.com/users/ConstantMath/events{/privacy}","received_events_url":"https://api.github.com/users/ConstantMath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-21T10:43:53Z","updated_at":"2016-01-21T10:43:53Z","closed_at":null,"body":"If you want to get rid of the spacer with css, first add a class on it by adding this line after line 92, inside the `if (spacer)` condition:\r\n\r\n`spacer.addClass(\"spacer\");`\r\n\r\nThen in css:\r\n```\r\n@media all and (max-width: 40em) {\r\n  .is_stuck{\r\n    position: static !important;\r\n    top: auto !important;\r\n    width: auto !important;\r\n    height: auto !important;\r\n    bottom: auto !important;\r\n    float: initial !important;\r\n  }\r\n  .spacer{\r\n    display: none !important;\r\n  }\r\n}\r\n```"}}