{"action":"created","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/3065","repository_url":"https://api.github.com/repos/Dogfalo/materialize","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3065/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3065/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3065/events","html_url":"https://github.com/Dogfalo/materialize/issues/3065","id":149992399,"number":3065,"title":"Tabs indicator negative right value","user":{"login":"atulmy","id":685786,"avatar_url":"https://avatars.githubusercontent.com/u/685786?v=3","gravatar_id":"","url":"https://api.github.com/users/atulmy","html_url":"https://github.com/atulmy","followers_url":"https://api.github.com/users/atulmy/followers","following_url":"https://api.github.com/users/atulmy/following{/other_user}","gists_url":"https://api.github.com/users/atulmy/gists{/gist_id}","starred_url":"https://api.github.com/users/atulmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atulmy/subscriptions","organizations_url":"https://api.github.com/users/atulmy/orgs","repos_url":"https://api.github.com/users/atulmy/repos","events_url":"https://api.github.com/users/atulmy/events{/privacy}","received_events_url":"https://api.github.com/users/atulmy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-04-21T07:36:57Z","updated_at":"2016-08-16T09:03:45Z","closed_at":"2016-05-01T16:17:44Z","body":"`$indicator.css({\"right\": $tabs_width - (($index + 1) * $tab_width)});`\r\n\r\nCan this be:\r\n```\r\nvar right = $tabs_width - (($index + 1) * $tab_width\r\n$indicator.css({\"right\": (right < 0) ? 0 : right)});\r\n```\r\n![tab-1](https://cloud.githubusercontent.com/assets/685786/14701217/cdf770a0-07c1-11e6-82d4-3558f98c0cca.png)\r\n![tab-2](https://cloud.githubusercontent.com/assets/685786/14701215/cd81c8a0-07c1-11e6-88c5-08a18df8cf85.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments/240045836","html_url":"https://github.com/Dogfalo/materialize/issues/3065#issuecomment-240045836","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3065","id":240045836,"user":{"login":"diosat91","id":17433612,"avatar_url":"https://avatars.githubusercontent.com/u/17433612?v=3","gravatar_id":"","url":"https://api.github.com/users/diosat91","html_url":"https://github.com/diosat91","followers_url":"https://api.github.com/users/diosat91/followers","following_url":"https://api.github.com/users/diosat91/following{/other_user}","gists_url":"https://api.github.com/users/diosat91/gists{/gist_id}","starred_url":"https://api.github.com/users/diosat91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diosat91/subscriptions","organizations_url":"https://api.github.com/users/diosat91/orgs","repos_url":"https://api.github.com/users/diosat91/repos","events_url":"https://api.github.com/users/diosat91/events{/privacy}","received_events_url":"https://api.github.com/users/diosat91/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T09:03:45Z","updated_at":"2016-08-16T09:03:45Z","body":"Nope, neither. I tried out different numbers of tabs and found there to be negative right when there were 2, 6, 7 and 10 tabs (only tried 10), 0 when there were 1, 3, 5, 9 tabs and positive when there were 4 or 8. It appears to be a very slight rounding issue. It's only ever out by a few pixels which is barely noticeable except the scroller that appears like @atulmy's example above."}}
{"actor":{"display_login":"diosat91"}}