{"action":"created","comment":{"url":"https://api.github.com/repos/new-xkit/XKit/pulls/comments/49148087","id":49148087,"diff_hunk":"@@ -39,6 +39,29 @@ XKit.extensions.xkit_preferences = new Object({\n \t\t\t'<a style=\"color:transparent;\" class=\"tab_anchor\" href=\"#\" onclick=\"return false\">XKit</a>' +\n \t\t\t'</div>';\n \n+\t\tif (XKit.browser().mobile) {\n+\t\t\tXKit.tools.add_css('#xkit-window, #xkit-window-old { max-width: 650px !important; width: 100% !important; max-height: 100%; overflow: scroll; margin: auto 0 !important;} .xkit-window-buttons { padding-top: 0 !important; } .xkit-window-buttons .xkit-button { height: 40px !important; padding: 0 !important; }','mobile_window_fix');\n+\n+\n+\t\t\tvar mobile_control_panel = '#xkit-control-panel { width: 100%; height: 100%; top: 0; left: 0; margin: 0 !important; } ' +\n+\t\t\t\t'#xkit-control-panel-inner { height: calc(100% - 40px); padding: 0; overflow: scroll; } ' +\n+\t\t\t\t'#xkit-control-panel-tabs { display: flex; overflow: scroll; whitespace: no-wrap; } ' +\n+\t\t\t\t'#xkit-control-panel-tabs div { float: none; whitespace: no-wrap; } ' +\n+\t\t\t\t'#xkit-extensions-panel-left { height: 100% !important; top: 0; left: 0; } ' +\n+\t\t\t\t'.xkit-extensions-display-type-switcher { bottom: 0; } #xkit-extensions-panel-left-search { left: 0; bottom: 0; } ' +\n+\t\t\t\t'#xkit-extensions-panel-right { height: calc(100% - 40px); width: 100%; } ' +\n+\t\t\t\t'#xkit-extensions-panel-right.xkit-wide-panel { left: 0; width: 100%; } ' +\n+\t\t\t\t'#xkit-extensions-panel-top { min-height: 100px; height: unset; } ' +\n+\t\t\t\t'#xkit-extensions-panel-top .buttons, #xkit-extension-enabled, #xkit-extension-internal-label, #xkit-extensions-panel-top .more-info, #xkit-extensions-panel-top .version, #xkit-extensions-panel-top .title { display: block; position: relative; right: unset; bottom: unset; top: unset; } ' +\n+\t\t\t\t'#xkit-extension-enabled { top: 5px; }' +\n+\t\t\t\t'.xkit-change-ext-setting-checkbox { font-size: 15px !important; bottom: 7px; top: 5px; }  .xkit-change-ext-setting-checkbox b { position: relative; bottom: -3px; } ' +\n+\t\t\t\t'.xkit-extension-setting .checkbox { height: unset !important; min-height: 30px; } ' +\n+\t\t\t\t'.xkit-extension-setting .title { font-size: 15px !important; } .xkit-extension-setting { padding: 10px 15px 10px 15px !important; } ' +","path":"Extensions/xkit_preferences.js","position":28,"original_position":28,"commit_id":"7a528ceb4f1ca875806f7d3849f7c196ae26c2d3","original_commit_id":"7a528ceb4f1ca875806f7d3849f7c196ae26c2d3","user":{"login":"hobinjk","id":2776089,"avatar_url":"https://avatars.githubusercontent.com/u/2776089?v=3","gravatar_id":"","url":"https://api.github.com/users/hobinjk","html_url":"https://github.com/hobinjk","followers_url":"https://api.github.com/users/hobinjk/followers","following_url":"https://api.github.com/users/hobinjk/following{/other_user}","gists_url":"https://api.github.com/users/hobinjk/gists{/gist_id}","starred_url":"https://api.github.com/users/hobinjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobinjk/subscriptions","organizations_url":"https://api.github.com/users/hobinjk/orgs","repos_url":"https://api.github.com/users/hobinjk/repos","events_url":"https://api.github.com/users/hobinjk/events{/privacy}","received_events_url":"https://api.github.com/users/hobinjk/received_events","type":"User","site_admin":false},"body":"Probably `position: relative !important`","created_at":"2016-01-08T01:00:19Z","updated_at":"2016-01-08T01:00:19Z","html_url":"https://github.com/new-xkit/XKit/pull/901#discussion_r49148087","pull_request_url":"https://api.github.com/repos/new-xkit/XKit/pulls/901","_links":{"self":{"href":"https://api.github.com/repos/new-xkit/XKit/pulls/comments/49148087"},"html":{"href":"https://github.com/new-xkit/XKit/pull/901#discussion_r49148087"},"pull_request":{"href":"https://api.github.com/repos/new-xkit/XKit/pulls/901"}}},"pull_request":{"url":"https://api.github.com/repos/new-xkit/XKit/pulls/901","id":55045969,"html_url":"https://github.com/new-xkit/XKit/pull/901","diff_url":"https://github.com/new-xkit/XKit/pull/901.diff","patch_url":"https://github.com/new-xkit/XKit/pull/901.patch","issue_url":"https://api.github.com/repos/new-xkit/XKit/issues/901","number":901,"state":"open","locked":false,"title":"Fix xkit control panel to stay on-screen on mobile devices","user":{"login":"dlmarquis","id":13246021,"avatar_url":"https://avatars.githubusercontent.com/u/13246021?v=3","gravatar_id":"","url":"https://api.github.com/users/dlmarquis","html_url":"https://github.com/dlmarquis","followers_url":"https://api.github.com/users/dlmarquis/followers","following_url":"https://api.github.com/users/dlmarquis/following{/other_user}","gists_url":"https://api.github.com/users/dlmarquis/gists{/gist_id}","starred_url":"https://api.github.com/users/dlmarquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlmarquis/subscriptions","organizations_url":"https://api.github.com/users/dlmarquis/orgs","repos_url":"https://api.github.com/users/dlmarquis/repos","events_url":"https://api.github.com/users/dlmarquis/events{/privacy}","received_events_url":"https://api.github.com/users/dlmarquis/received_events","type":"User","site_admin":false},"body":"It's not super-optimized, just some css to make it usable, but we need to rewrite pretty much all the desktop HTML before I'm going to think about optimizing it further.","created_at":"2016-01-05T01:44:50Z","updated_at":"2016-01-08T01:00:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89580d060faffda976a366afd79b1ce6e75c7d61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/new-xkit/XKit/pulls/901/commits","review_comments_url":"https://api.github.com/repos/new-xkit/XKit/pulls/901/comments","review_comment_url":"https://api.github.com/repos/new-xkit/XKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/new-xkit/XKit/issues/901/comments","statuses_url":"https://api.github.com/repos/new-xkit/XKit/statuses/7a528ceb4f1ca875806f7d3849f7c196ae26c2d3","head":{"label":"dlmarquis:mobile_prefs","ref":"mobile_prefs","sha":"7a528ceb4f1ca875806f7d3849f7c196ae26c2d3","user":{"login":"dlmarquis","id":13246021,"avatar_url":"https://avatars.githubusercontent.com/u/13246021?v=3","gravatar_id":"","url":"https://api.github.com/users/dlmarquis","html_url":"https://github.com/dlmarquis","followers_url":"https://api.github.com/users/dlmarquis/followers","following_url":"https://api.github.com/users/dlmarquis/following{/other_user}","gists_url":"https://api.github.com/users/dlmarquis/gists{/gist_id}","starred_url":"https://api.github.com/users/dlmarquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlmarquis/subscriptions","organizations_url":"https://api.github.com/users/dlmarquis/orgs","repos_url":"https://api.github.com/users/dlmarquis/repos","events_url":"https://api.github.com/users/dlmarquis/events{/privacy}","received_events_url":"https://api.github.com/users/dlmarquis/received_events","type":"User","site_admin":false},"repo":{"id":38803685,"name":"XKit","full_name":"dlmarquis/XKit","owner":{"login":"dlmarquis","id":13246021,"avatar_url":"https://avatars.githubusercontent.com/u/13246021?v=3","gravatar_id":"","url":"https://api.github.com/users/dlmarquis","html_url":"https://github.com/dlmarquis","followers_url":"https://api.github.com/users/dlmarquis/followers","following_url":"https://api.github.com/users/dlmarquis/following{/other_user}","gists_url":"https://api.github.com/users/dlmarquis/gists{/gist_id}","starred_url":"https://api.github.com/users/dlmarquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlmarquis/subscriptions","organizations_url":"https://api.github.com/users/dlmarquis/orgs","repos_url":"https://api.github.com/users/dlmarquis/repos","events_url":"https://api.github.com/users/dlmarquis/events{/privacy}","received_events_url":"https://api.github.com/users/dlmarquis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlmarquis/XKit","description":"Extension framework for Tumblr","fork":true,"url":"https://api.github.com/repos/dlmarquis/XKit","forks_url":"https://api.github.com/repos/dlmarquis/XKit/forks","keys_url":"https://api.github.com/repos/dlmarquis/XKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlmarquis/XKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlmarquis/XKit/teams","hooks_url":"https://api.github.com/repos/dlmarquis/XKit/hooks","issue_events_url":"https://api.github.com/repos/dlmarquis/XKit/issues/events{/number}","events_url":"https://api.github.com/repos/dlmarquis/XKit/events","assignees_url":"https://api.github.com/repos/dlmarquis/XKit/assignees{/user}","branches_url":"https://api.github.com/repos/dlmarquis/XKit/branches{/branch}","tags_url":"https://api.github.com/repos/dlmarquis/XKit/tags","blobs_url":"https://api.github.com/repos/dlmarquis/XKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlmarquis/XKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlmarquis/XKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlmarquis/XKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlmarquis/XKit/statuses/{sha}","languages_url":"https://api.github.com/repos/dlmarquis/XKit/languages","stargazers_url":"https://api.github.com/repos/dlmarquis/XKit/stargazers","contributors_url":"https://api.github.com/repos/dlmarquis/XKit/contributors","subscribers_url":"https://api.github.com/repos/dlmarquis/XKit/subscribers","subscription_url":"https://api.github.com/repos/dlmarquis/XKit/subscription","commits_url":"https://api.github.com/repos/dlmarquis/XKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlmarquis/XKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlmarquis/XKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlmarquis/XKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlmarquis/XKit/contents/{+path}","compare_url":"https://api.github.com/repos/dlmarquis/XKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlmarquis/XKit/merges","archive_url":"https://api.github.com/repos/dlmarquis/XKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlmarquis/XKit/downloads","issues_url":"https://api.github.com/repos/dlmarquis/XKit/issues{/number}","pulls_url":"https://api.github.com/repos/dlmarquis/XKit/pulls{/number}","milestones_url":"https://api.github.com/repos/dlmarquis/XKit/milestones{/number}","notifications_url":"https://api.github.com/repos/dlmarquis/XKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlmarquis/XKit/labels{/name}","releases_url":"https://api.github.com/repos/dlmarquis/XKit/releases{/id}","created_at":"2015-07-09T07:04:17Z","updated_at":"2015-11-24T14:54:16Z","pushed_at":"2016-01-06T00:56:34Z","git_url":"git://github.com/dlmarquis/XKit.git","ssh_url":"git@github.com:dlmarquis/XKit.git","clone_url":"https://github.com/dlmarquis/XKit.git","svn_url":"https://github.com/dlmarquis/XKit","homepage":"http://new-xkit-extension.tumblr.com","size":7159,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"new-xkit:master","ref":"master","sha":"6b9abc1796c46cd5791af312fb6bd096600e9c82","user":{"login":"new-xkit","id":13651827,"avatar_url":"https://avatars.githubusercontent.com/u/13651827?v=3","gravatar_id":"","url":"https://api.github.com/users/new-xkit","html_url":"https://github.com/new-xkit","followers_url":"https://api.github.com/users/new-xkit/followers","following_url":"https://api.github.com/users/new-xkit/following{/other_user}","gists_url":"https://api.github.com/users/new-xkit/gists{/gist_id}","starred_url":"https://api.github.com/users/new-xkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/new-xkit/subscriptions","organizations_url":"https://api.github.com/users/new-xkit/orgs","repos_url":"https://api.github.com/users/new-xkit/repos","events_url":"https://api.github.com/users/new-xkit/events{/privacy}","received_events_url":"https://api.github.com/users/new-xkit/received_events","type":"Organization","site_admin":false},"repo":{"id":38794346,"name":"XKit","full_name":"new-xkit/XKit","owner":{"login":"new-xkit","id":13651827,"avatar_url":"https://avatars.githubusercontent.com/u/13651827?v=3","gravatar_id":"","url":"https://api.github.com/users/new-xkit","html_url":"https://github.com/new-xkit","followers_url":"https://api.github.com/users/new-xkit/followers","following_url":"https://api.github.com/users/new-xkit/following{/other_user}","gists_url":"https://api.github.com/users/new-xkit/gists{/gist_id}","starred_url":"https://api.github.com/users/new-xkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/new-xkit/subscriptions","organizations_url":"https://api.github.com/users/new-xkit/orgs","repos_url":"https://api.github.com/users/new-xkit/repos","events_url":"https://api.github.com/users/new-xkit/events{/privacy}","received_events_url":"https://api.github.com/users/new-xkit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/new-xkit/XKit","description":"Fork of XKit, the Extension framework for Tumblr","fork":true,"url":"https://api.github.com/repos/new-xkit/XKit","forks_url":"https://api.github.com/repos/new-xkit/XKit/forks","keys_url":"https://api.github.com/repos/new-xkit/XKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/new-xkit/XKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/new-xkit/XKit/teams","hooks_url":"https://api.github.com/repos/new-xkit/XKit/hooks","issue_events_url":"https://api.github.com/repos/new-xkit/XKit/issues/events{/number}","events_url":"https://api.github.com/repos/new-xkit/XKit/events","assignees_url":"https://api.github.com/repos/new-xkit/XKit/assignees{/user}","branches_url":"https://api.github.com/repos/new-xkit/XKit/branches{/branch}","tags_url":"https://api.github.com/repos/new-xkit/XKit/tags","blobs_url":"https://api.github.com/repos/new-xkit/XKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/new-xkit/XKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/new-xkit/XKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/new-xkit/XKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/new-xkit/XKit/statuses/{sha}","languages_url":"https://api.github.com/repos/new-xkit/XKit/languages","stargazers_url":"https://api.github.com/repos/new-xkit/XKit/stargazers","contributors_url":"https://api.github.com/repos/new-xkit/XKit/contributors","subscribers_url":"https://api.github.com/repos/new-xkit/XKit/subscribers","subscription_url":"https://api.github.com/repos/new-xkit/XKit/subscription","commits_url":"https://api.github.com/repos/new-xkit/XKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/new-xkit/XKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/new-xkit/XKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/new-xkit/XKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/new-xkit/XKit/contents/{+path}","compare_url":"https://api.github.com/repos/new-xkit/XKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/new-xkit/XKit/merges","archive_url":"https://api.github.com/repos/new-xkit/XKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/new-xkit/XKit/downloads","issues_url":"https://api.github.com/repos/new-xkit/XKit/issues{/number}","pulls_url":"https://api.github.com/repos/new-xkit/XKit/pulls{/number}","milestones_url":"https://api.github.com/repos/new-xkit/XKit/milestones{/number}","notifications_url":"https://api.github.com/repos/new-xkit/XKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/new-xkit/XKit/labels{/name}","releases_url":"https://api.github.com/repos/new-xkit/XKit/releases{/id}","created_at":"2015-07-09T03:20:10Z","updated_at":"2016-01-07T14:01:01Z","pushed_at":"2016-01-07T17:35:08Z","git_url":"git://github.com/new-xkit/XKit.git","ssh_url":"git@github.com:new-xkit/XKit.git","clone_url":"https://github.com/new-xkit/XKit.git","svn_url":"https://github.com/new-xkit/XKit","homepage":"http://new-xkit-extension.tumblr.com/","size":10986,"stargazers_count":154,"watchers_count":154,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":50,"mirror_url":null,"open_issues_count":262,"forks":50,"open_issues":262,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/new-xkit/XKit/pulls/901"},"html":{"href":"https://github.com/new-xkit/XKit/pull/901"},"issue":{"href":"https://api.github.com/repos/new-xkit/XKit/issues/901"},"comments":{"href":"https://api.github.com/repos/new-xkit/XKit/issues/901/comments"},"review_comments":{"href":"https://api.github.com/repos/new-xkit/XKit/pulls/901/comments"},"review_comment":{"href":"https://api.github.com/repos/new-xkit/XKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/new-xkit/XKit/pulls/901/commits"},"statuses":{"href":"https://api.github.com/repos/new-xkit/XKit/statuses/7a528ceb4f1ca875806f7d3849f7c196ae26c2d3"}}}}