diff --git a/manifest.json b/manifest.json index 33d7606..7e830af 100644 --- a/manifest.json +++ b/manifest.json @@ -1,19 +1,19 @@ { "manifest_version": 2, "name": "Wider Github", - "version": "0.1.1", + "version": "0.1.2", - "description": "Maximize your screen size when looking at codes on Github. This extension is not affiliated with Github.", + "description": "Maximize your screen size when looking at codes on Github and minimizes filename truncation. This extension is not affiliated with Github.", "browser_action":{ "default_icon":"github48.png", "default_title": "Wider Github" }, - "icons": { + "icons": { "16": "github16.png", "48": "github48.png", - "128": "github128.png" + "128": "github128.png" }, "permissions":[ @@ -27,4 +27,4 @@ "persistent": false } -} \ No newline at end of file +} diff --git a/regular.css b/regular.css index 74b738f..6aa5f5e 100644 --- a/regular.css +++ b/regular.css @@ -1,10 +1,8 @@ /* Code View */ -#js-repo-pjax-container{ - width: 920px; - left: initial; - margin: initial; - position: initial; +body.full-width div.container, body.full-width div.container-lg, body.split-diff div.container, body.split-diff div.container-lg { + padding-left: 20px; + padding-right: 20px; } /* Gist */ @@ -28,12 +26,12 @@ div.column{ /* Pull Request */ -div.file .meta .info .css-truncate-target { +a.css-truncate.css-truncate-target, a.css-truncate .css-truncate-target { max-width: 600px; } -div.file .meta .info { +div.file-info { width: initial; - +} div.site-footer, div#all_commit_comments, div.thread-subscription-status { visibility: initial; } diff --git a/widen.css b/widen.css index 3f0ba69..d140983 100644 --- a/widen.css +++ b/widen.css @@ -1,10 +1,8 @@ /* Code View */ -#js-repo-pjax-container{ - width: 94%; - left: 0px; - margin: 0px 3%; - position: absolute; +body.full-width div.container, body.full-width div.container-lg, body.split-diff div.container, body.split-diff div.container-lg { + padding-left: 10px; + padding-right: 10px; } /* Gist */ @@ -27,12 +25,12 @@ div.column{ /* Pull Request */ -div.file .meta .info .css-truncate-target { - max-width: 85%; +a.css-truncate.css-truncate-target, a.css-truncate .css-truncate-target { + max-width: 85%!important; +} +div.file-info { + width: 80%; } -div.file .meta .info { - width: 90%; - div.site-footer, div#all_commit_comments, div.thread-subscription-status { visibility: hidden; }