{"action":"closed","number":159,"pull_request":{"url":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/159","id":65671451,"html_url":"https://github.com/m-lab/m-lab.github.io/pull/159","diff_url":"https://github.com/m-lab/m-lab.github.io/pull/159.diff","patch_url":"https://github.com/m-lab/m-lab.github.io/pull/159.patch","issue_url":"https://api.github.com/repos/m-lab/m-lab.github.io/issues/159","number":159,"state":"closed","locked":false,"title":"Feature Responsive: Easy Fix for Responsive Data Tables","user":{"login":"shredtechular","id":2396774,"avatar_url":"https://avatars.githubusercontent.com/u/2396774?v=3","gravatar_id":"","url":"https://api.github.com/users/shredtechular","html_url":"https://github.com/shredtechular","followers_url":"https://api.github.com/users/shredtechular/followers","following_url":"https://api.github.com/users/shredtechular/following{/other_user}","gists_url":"https://api.github.com/users/shredtechular/gists{/gist_id}","starred_url":"https://api.github.com/users/shredtechular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shredtechular/subscriptions","organizations_url":"https://api.github.com/users/shredtechular/orgs","repos_url":"https://api.github.com/users/shredtechular/repos","events_url":"https://api.github.com/users/shredtechular/events{/privacy}","received_events_url":"https://api.github.com/users/shredtechular/received_events","type":"User","site_admin":false},"body":"This PR is for a low effort solution to make couple of the bigger data tables that exist on the site today a little more responsive.\r\n\r\nAs you can see in the code changes below, the fix is just a couple of lines of CSS.  I think this is a reasonable solution, but want to get a review on this.  The one downside that I see is it could result in a word breaking and going to the next line in bigger tables.  As you are probably aware, data tables are inherently not very responsive as the table columns have minimum widths that it must have before it just won't shrink anymore.  The CSS is a work around for that behavior.\r\n\r\nIf this is not acceptable, we can try some alternative solutions or introduce some 3rd party tools.  A couple of other options may be:\r\n- [Bootstrap](http://getbootstrap.com/css/#tables-responsive) can add horizontal bars to tables so users can scroll left/right on tables, but does junk up the markdown a little more as an author would need to add a container `div` around tables.\r\n- Another clever way to handle with CSS, which might be a little more LOE is outlined [here](https://css-tricks.com/responsive-data-tables/).  I have some concerns about complicating the authoring of tables, cross-browser compatibility and possibly accessibility with this solution, but we can give this a shot.\r\n- Or there are some other third party tools that I can look into more to see if they offer other, better solutions.\r\n\r\nThese changes can be previewed on my [fork](https://shredtechular.github.io/m-lab.github.io/).\r\n\r\nBelow is a screen cap illustrating some of the breaking in the middle of a word on which smaller devices:\r\n<img width=\"762\" alt=\"big-table-resp\" src=\"https://cloud.githubusercontent.com/assets/2396774/14361130/71e26f86-fcc7-11e5-8380-305cb15bc60f.png\">\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/m-lab/m-lab.github.io/159)\n<!-- Reviewable:end -->\n","created_at":"2016-04-07T17:51:26Z","updated_at":"2016-04-07T20:37:48Z","closed_at":"2016-04-07T20:37:48Z","merged_at":"2016-04-07T20:37:48Z","merge_commit_sha":"8f0241ed9fb16a59ac3ed94ac62f76ca1b990e10","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/159/commits","review_comments_url":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/159/comments","review_comment_url":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/m-lab/m-lab.github.io/issues/159/comments","statuses_url":"https://api.github.com/repos/m-lab/m-lab.github.io/statuses/f9e9207e7434380326070204974edb0bc1a3ef0c","head":{"label":"shredtechular:feature-resp-tables","ref":"feature-resp-tables","sha":"f9e9207e7434380326070204974edb0bc1a3ef0c","user":{"login":"shredtechular","id":2396774,"avatar_url":"https://avatars.githubusercontent.com/u/2396774?v=3","gravatar_id":"","url":"https://api.github.com/users/shredtechular","html_url":"https://github.com/shredtechular","followers_url":"https://api.github.com/users/shredtechular/followers","following_url":"https://api.github.com/users/shredtechular/following{/other_user}","gists_url":"https://api.github.com/users/shredtechular/gists{/gist_id}","starred_url":"https://api.github.com/users/shredtechular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shredtechular/subscriptions","organizations_url":"https://api.github.com/users/shredtechular/orgs","repos_url":"https://api.github.com/users/shredtechular/repos","events_url":"https://api.github.com/users/shredtechular/events{/privacy}","received_events_url":"https://api.github.com/users/shredtechular/received_events","type":"User","site_admin":false},"repo":{"id":51487670,"name":"m-lab.github.io","full_name":"shredtechular/m-lab.github.io","owner":{"login":"shredtechular","id":2396774,"avatar_url":"https://avatars.githubusercontent.com/u/2396774?v=3","gravatar_id":"","url":"https://api.github.com/users/shredtechular","html_url":"https://github.com/shredtechular","followers_url":"https://api.github.com/users/shredtechular/followers","following_url":"https://api.github.com/users/shredtechular/following{/other_user}","gists_url":"https://api.github.com/users/shredtechular/gists{/gist_id}","starred_url":"https://api.github.com/users/shredtechular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shredtechular/subscriptions","organizations_url":"https://api.github.com/users/shredtechular/orgs","repos_url":"https://api.github.com/users/shredtechular/repos","events_url":"https://api.github.com/users/shredtechular/events{/privacy}","received_events_url":"https://api.github.com/users/shredtechular/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shredtechular/m-lab.github.io","description":"Github hosted pages for M-Lab","fork":true,"url":"https://api.github.com/repos/shredtechular/m-lab.github.io","forks_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/forks","keys_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/teams","hooks_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/hooks","issue_events_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/events","assignees_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/tags","blobs_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/languages","stargazers_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/stargazers","contributors_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/contributors","subscribers_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/subscribers","subscription_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/subscription","commits_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/merges","archive_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/downloads","issues_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/labels{/name}","releases_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/shredtechular/m-lab.github.io/deployments","created_at":"2016-02-11T01:41:36Z","updated_at":"2016-03-16T01:23:45Z","pushed_at":"2016-04-07T19:25:02Z","git_url":"git://github.com/shredtechular/m-lab.github.io.git","ssh_url":"git@github.com:shredtechular/m-lab.github.io.git","clone_url":"https://github.com/shredtechular/m-lab.github.io.git","svn_url":"https://github.com/shredtechular/m-lab.github.io","homepage":null,"size":38328,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"m-lab:feature-responsive","ref":"feature-responsive","sha":"85cdedfe5e355fe3e87b9898e42e58ee06da46f1","user":{"login":"m-lab","id":3496264,"avatar_url":"https://avatars.githubusercontent.com/u/3496264?v=3","gravatar_id":"","url":"https://api.github.com/users/m-lab","html_url":"https://github.com/m-lab","followers_url":"https://api.github.com/users/m-lab/followers","following_url":"https://api.github.com/users/m-lab/following{/other_user}","gists_url":"https://api.github.com/users/m-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/m-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-lab/subscriptions","organizations_url":"https://api.github.com/users/m-lab/orgs","repos_url":"https://api.github.com/users/m-lab/repos","events_url":"https://api.github.com/users/m-lab/events{/privacy}","received_events_url":"https://api.github.com/users/m-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":48710109,"name":"m-lab.github.io","full_name":"m-lab/m-lab.github.io","owner":{"login":"m-lab","id":3496264,"avatar_url":"https://avatars.githubusercontent.com/u/3496264?v=3","gravatar_id":"","url":"https://api.github.com/users/m-lab","html_url":"https://github.com/m-lab","followers_url":"https://api.github.com/users/m-lab/followers","following_url":"https://api.github.com/users/m-lab/following{/other_user}","gists_url":"https://api.github.com/users/m-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/m-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-lab/subscriptions","organizations_url":"https://api.github.com/users/m-lab/orgs","repos_url":"https://api.github.com/users/m-lab/repos","events_url":"https://api.github.com/users/m-lab/events{/privacy}","received_events_url":"https://api.github.com/users/m-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/m-lab/m-lab.github.io","description":"Github hosted pages for M-Lab","fork":false,"url":"https://api.github.com/repos/m-lab/m-lab.github.io","forks_url":"https://api.github.com/repos/m-lab/m-lab.github.io/forks","keys_url":"https://api.github.com/repos/m-lab/m-lab.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-lab/m-lab.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-lab/m-lab.github.io/teams","hooks_url":"https://api.github.com/repos/m-lab/m-lab.github.io/hooks","issue_events_url":"https://api.github.com/repos/m-lab/m-lab.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/m-lab/m-lab.github.io/events","assignees_url":"https://api.github.com/repos/m-lab/m-lab.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/m-lab/m-lab.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/m-lab/m-lab.github.io/tags","blobs_url":"https://api.github.com/repos/m-lab/m-lab.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-lab/m-lab.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-lab/m-lab.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-lab/m-lab.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-lab/m-lab.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/m-lab/m-lab.github.io/languages","stargazers_url":"https://api.github.com/repos/m-lab/m-lab.github.io/stargazers","contributors_url":"https://api.github.com/repos/m-lab/m-lab.github.io/contributors","subscribers_url":"https://api.github.com/repos/m-lab/m-lab.github.io/subscribers","subscription_url":"https://api.github.com/repos/m-lab/m-lab.github.io/subscription","commits_url":"https://api.github.com/repos/m-lab/m-lab.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-lab/m-lab.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-lab/m-lab.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-lab/m-lab.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-lab/m-lab.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/m-lab/m-lab.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-lab/m-lab.github.io/merges","archive_url":"https://api.github.com/repos/m-lab/m-lab.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-lab/m-lab.github.io/downloads","issues_url":"https://api.github.com/repos/m-lab/m-lab.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/m-lab/m-lab.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/m-lab/m-lab.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-lab/m-lab.github.io/labels{/name}","releases_url":"https://api.github.com/repos/m-lab/m-lab.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/m-lab/m-lab.github.io/deployments","created_at":"2015-12-28T20:02:14Z","updated_at":"2016-03-19T19:00:23Z","pushed_at":"2016-04-07T20:37:48Z","git_url":"git://github.com/m-lab/m-lab.github.io.git","ssh_url":"git@github.com:m-lab/m-lab.github.io.git","clone_url":"https://github.com/m-lab/m-lab.github.io.git","svn_url":"https://github.com/m-lab/m-lab.github.io","homepage":"https://www.measurementlab.net","size":39563,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":24,"forks":5,"open_issues":24,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/159"},"html":{"href":"https://github.com/m-lab/m-lab.github.io/pull/159"},"issue":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/issues/159"},"comments":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/m-lab/m-lab.github.io/statuses/f9e9207e7434380326070204974edb0bc1a3ef0c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"critzo","id":4633345,"avatar_url":"https://avatars.githubusercontent.com/u/4633345?v=3","gravatar_id":"","url":"https://api.github.com/users/critzo","html_url":"https://github.com/critzo","followers_url":"https://api.github.com/users/critzo/followers","following_url":"https://api.github.com/users/critzo/following{/other_user}","gists_url":"https://api.github.com/users/critzo/gists{/gist_id}","starred_url":"https://api.github.com/users/critzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/critzo/subscriptions","organizations_url":"https://api.github.com/users/critzo/orgs","repos_url":"https://api.github.com/users/critzo/repos","events_url":"https://api.github.com/users/critzo/events{/privacy}","received_events_url":"https://api.github.com/users/critzo/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":2}}