Skip to content

Commit 9779210

Browse files
committed
Fix width on file viewer
1 parent 2dc9527 commit 9779210

File tree

5 files changed

+5
-26
lines changed

5 files changed

+5
-26
lines changed

build/wide-github.user.css

+1-8
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,13 @@
1010
@contributor Robert Laverty (https://github.com/roblav96)
1111
@contributor Amir Meimari (https://github.com/amirmeimari)
1212
@license MIT; https://raw.githubusercontent.com/xthexder/wide-github/master/LICENSE
13-
@version 1.6.3
13+
@version 1.6.4
1414
@homepageURL https://github.com/xthexder/wide-github
1515
@supportURL https://github.com/xthexder/wide-github/issues
1616
==/UserStyle== */
1717

1818
@-moz-document regexp("^https://(?:gist\\.)?github\\.com/.*") {
1919

20-
body:not(.wgh-disabled) .application-main .container {
21-
width: auto !important;
22-
padding-left: 16px !important;
23-
padding-right: 16px !important;
24-
margin-left: 0px !important;
25-
min-width: 980px;
26-
}
2720
body:not(.wgh-disabled) .application-main .container-xl {
2821
max-width: none !important;
2922
}

build/wide-github.user.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @contributor Robert Laverty (https://github.com/roblav96)
1313
// @contributor Amir Meimari (https://github.com/amirmeimari)
1414
// @license MIT; https://raw.githubusercontent.com/xthexder/wide-github/master/LICENSE
15-
// @version 1.6.3
15+
// @version 1.6.4
1616
// @icon https://raw.githubusercontent.com/xthexder/wide-github/master/icons/icon.png
1717
// @homepageURL https://github.com/xthexder/wide-github
1818
// @supportURL https://github.com/xthexder/wide-github/issues
@@ -22,13 +22,6 @@
2222
// ==/UserScript==
2323

2424
var styleSheet = "" +
25-
"body:not(.wgh-disabled) .application-main .container {" +
26-
"width: auto !important;" +
27-
"padding-left: 16px !important;" +
28-
"padding-right: 16px !important;" +
29-
"margin-left: 0px !important;" +
30-
"min-width: 980px;" +
31-
"}" +
3225
"body:not(.wgh-disabled) .application-main .container-xl {" +
3326
"max-width: none !important;" +
3427
"}" +

chrome/manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
"name": "Wide GitHub",
55
"description": "Change all GitHub repository and gist pages to be full width and dynamically sized.",
6-
"version": "1.6.3",
7-
"version_name": "1.6.3 MV3",
6+
"version": "1.6.4",
7+
"version_name": "1.6.4 MV3",
88
"icons": {
99
"32": "icons/icon32.png",
1010
"48": "icons/icon48.png",

mozilla/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"name": "Wide GitHub",
55
"description": "Change all GitHub repository and gist pages to be full width and dynamically sized.",
6-
"version": "1.6.3",
6+
"version": "1.6.4",
77
"icons": {
88
"32": "icons/icon32.png",
99
"48": "icons/icon48.png",

wide-github.css

-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
body:not(.wgh-disabled) .application-main .container {
2-
width: auto !important;
3-
padding-left: 16px !important;
4-
padding-right: 16px !important;
5-
margin-left: 0px !important;
6-
min-width: 980px;
7-
}
81
body:not(.wgh-disabled) .application-main .container-xl {
92
max-width: none !important;
103
}

0 commit comments

Comments
 (0)