Skip to content

Commit

Permalink
Increment version number
Browse files Browse the repository at this point in the history
Clean up code a bunch, fix clearfix issues with github css update.
  • Loading branch information
xthexder committed Feb 14, 2014
1 parent 8de32a6 commit 9769651
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 62 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Wide Github
===========

> Only compatible with the new repository browser.
This plugin changes all github repository pages to be full width and dynamically sized.

This user script changes all github repository pages to be full width and dynamically sized.
This repository always contains the latest version, the Chrome Store and userscripts.org may not have been updated as recently.

Installing
----------
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"name": "Wide Github",
"description": "Change all github repository pages to be full width and dynamically sized.",
"version": "1.0.3",
"version": "1.0.4",

"permissions": [
"tabs", "https://github.com/*"
Expand Down
73 changes: 14 additions & 59 deletions wide-github.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name Wide Github
// @namespace https://github.com/xthexder/wide-github
// @include *github.com*
// @version 1.0.3
// @version 1.0.4
// @grant none
// ==/UserScript==

Expand All @@ -13,78 +13,33 @@ if (document.getElementById('js-repo-pjax-container')) {
"width:90% !important;" +
"min-width:980px;" +
"}" +
".repository-content {" +
"float:none !important;" +
"width:auto !important;" +
".repository-with-sidebar {" +
"margin-left:60px;" +
"}" +
".repository-content .repository-meta:after {" +
"clear:left !important;" +
".repository-with-sidebar.with-full-navigation {" +
"margin-left:190px;" +
"}" +
".repository-content {" +
"width:100% !important;" +
"margin-right: auto !important;" +
"}" +
".repository-with-sidebar .repository-content {" +
"margin-right:68px;" +
"margin-left:-60px;" +
"}" +
".repository-with-sidebar.with-full-navigation .repository-content {" +
"margin-right:200px;" +
"margin-left:-190px;" +
"}" +
".repository-content .discussion-timeline {" +
"margin-right:160px;" +
"width:auto !important;" +
"}" +
".repository-content .column.main {" +
"float:none !important;" +
"width:auto !important;" +
"margin-left:250px;" +
"}" +
".repository-content .repo-settings-content .column.main .rule {" +
"clear:none !important;" +
"}" +
".repository-content .empty-repo .rule {" +
"clear:none !important;" +
"}" +
".repository-content .repo-settings-content {" +
"float:none !important;" +
"width:auto !important;" +
"margin-left:225px;" +
"}" +
".repository-content .pulls-list-group .list-group-item:after {" +
"clear:none !important;" +
"}" +
".repository-content .header-with-actions .select-menu {" +
"clear:left !important;" +
"}" +
".repository-content .branch-infobar:after {" +
"clear:left !important;" +
"}" +
".repository-content .issue-head:after {" +
"clear:left !important;" +
"}" +
".repository-content .commit-meta:after {" +
"clear:left !important;" +
"}" +
".repository-content #toc .content {" +
"clear:left !important;" +
"margin-top:10px;" +
"}" +
".repository-content .capped-box h3:after {" +
"clear:left !important;" +
"}" +
".repository-content .graph-filter:after {" +
"clear:left !important;" +
"}" +
".repository-content h2.ghead:after {" +
"clear:left !important;" +
"}" +
".repository-content .section-heading:after {" +
"clear:left !important;" +
"}" +
".repository-content .file .meta:after {" +
"clear:left !important;" +
"}" +
".repository-content .user-list .tabnav-widget {" +
"clear:none !important;" +
"margin-left:235px;" +
"}" +
".repository-content .js-graph-punchcard {" +
"max-width:920px !important;" +
".repository-content .repo-settings-content .tab-content .clearfix:after {" + // Fix for deploy keys tab
"clear:right !important;" +
"}";
(document.head || document.documentElement).appendChild(s);
}

0 comments on commit 9769651

Please sign in to comment.