Skip to content

Commit 7462ce8

Browse files
committed
Update CSS for latest GitHub issues page changes
1 parent 60f6753 commit 7462ce8

8 files changed

Lines changed: 61 additions & 10 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2024 xthexder (https://github.com/xthexder/wide-github)
3+
Copyright (c) 2013-2025 xthexder (https://github.com/xthexder/wide-github)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

build/wide-github.user.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
@namespace https://github.com/xthexder/wide-github
44
@description Change all GitHub repository and gist pages to be full width and dynamically sized.
55
@author xthexder
6-
@copyright 2013-2024, xthexder (https://github.com/xthexder)
6+
@copyright 2013-2025, xthexder (https://github.com/xthexder)
77
@contributor Jason Frey (https://github.com/Fryguy)
88
@contributor Marti Martz (https://github.com/Martii)
99
@contributor Paul "Joey" Clark (https://github.com/joeytwiddle)
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.6
13+
@version 1.7.0
1414
@homepageURL https://github.com/xthexder/wide-github
1515
@supportURL https://github.com/xthexder/wide-github/issues
1616
==/UserStyle== */
@@ -59,4 +59,21 @@
5959
max-width: none;
6060
}
6161

62+
/* New React layout (2025) */
63+
64+
/* Issues list page */
65+
body:not(.wgh-disabled) .application-main div[data-target="react-app.reactRoot"] div[class^='prc-PageLayout-Content-'] > div[class^='Box-sc-'] {
66+
max-width: none;
67+
}
68+
69+
/* Issue page */
70+
body:not(.wgh-disabled) .application-main div[data-target="react-app.reactRoot"] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] {
71+
max-width: none;
72+
}
73+
74+
/* New issue page */
75+
body:not(.wgh-disabled) .application-main div[data-target="react-app.reactRoot"] div[class^='IssueCreatePage-module__createPaneContainer-'] {
76+
max-width: none;
77+
}
78+
6279
}

build/wide-github.user.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
// @namespace https://github.com/xthexder/wide-github
66
// @description Change all GitHub repository and gist pages to be full width and dynamically sized.
77
// @author xthexder
8-
// @copyright 2013-2024, xthexder (https://github.com/xthexder)
8+
// @copyright 2013-2025, xthexder (https://github.com/xthexder)
99
// @contributor Jason Frey (https://github.com/Fryguy)
1010
// @contributor Marti Martz (https://github.com/Martii)
1111
// @contributor Paul "Joey" Clark (https://github.com/joeytwiddle)
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.6
15+
// @version 1.7.0
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
@@ -65,6 +65,23 @@ var styleSheet = "" +
6565
"max-width: none;" +
6666
"}" +
6767

68+
// New React layout (2025)
69+
70+
// Issues list page
71+
"body:not(.wgh-disabled) .application-main div[data-target=\"react-app.reactRoot\"] div[class^='prc-PageLayout-Content-'] > div[class^='Box-sc-'] {" +
72+
"max-width: none;" +
73+
"}" +
74+
75+
// Issue page
76+
"body:not(.wgh-disabled) .application-main div[data-target=\"react-app.reactRoot\"] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] {" +
77+
"max-width: none;" +
78+
"}" +
79+
80+
// New issue page
81+
"body:not(.wgh-disabled) .application-main div[data-target=\"react-app.reactRoot\"] div[class^='IssueCreatePage-module__createPaneContainer-'] {" +
82+
"max-width: none;" +
83+
"}" +
84+
6885
"";
6986

7087
(function () {

chrome/manifest.json

Lines changed: 2 additions & 2 deletions
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.6",
7-
"version_name": "1.6.6 MV3",
6+
"version": "1.7.0",
7+
"version_name": "1.7.0 MV3",
88
"icons": {
99
"32": "icons/icon32.png",
1010
"48": "icons/icon48.png",

makecss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var header = "" +
1010
"@namespace https://github.com/xthexder/wide-github\n" +
1111
"@description " + manifest["description"] + "\n" +
1212
"@author xthexder\n" +
13-
"@copyright 2013-2024, xthexder (https://github.com/xthexder)\n" +
13+
"@copyright 2013-2025, xthexder (https://github.com/xthexder)\n" +
1414
"@contributor Jason Frey (https://github.com/Fryguy)\n" +
1515
"@contributor Marti Martz (https://github.com/Martii)\n" +
1616
"@contributor Paul \"Joey\" Clark (https://github.com/joeytwiddle)\n" +

makejs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var header = "" +
1212
"// @namespace https://github.com/xthexder/wide-github\n" +
1313
"// @description " + manifest["description"] + "\n" +
1414
"// @author xthexder\n" +
15-
"// @copyright 2013-2024, xthexder (https://github.com/xthexder)\n" +
15+
"// @copyright 2013-2025, xthexder (https://github.com/xthexder)\n" +
1616
"// @contributor Jason Frey (https://github.com/Fryguy)\n" +
1717
"// @contributor Marti Martz (https://github.com/Martii)\n" +
1818
"// @contributor Paul \"Joey\" Clark (https://github.com/joeytwiddle)\n" +

mozilla/manifest.json

Lines changed: 1 addition & 1 deletion
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.6",
6+
"version": "1.7.0",
77
"icons": {
88
"32": "icons/icon32.png",
99
"48": "icons/icon48.png",

wide-github.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,20 @@ body:not(.wgh-disabled) .application-main div[style^="--sticky-pane-height:"] >
3939
body:not(.wgh-disabled) #js-repo-pjax-container div[data-target="react-app.reactRoot"] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] {
4040
max-width: none;
4141
}
42+
43+
/* New React layout (2025) */
44+
45+
/* Issues list page */
46+
body:not(.wgh-disabled) .application-main div[data-target="react-app.reactRoot"] div[class^='prc-PageLayout-Content-'] > div[class^='Box-sc-'] {
47+
max-width: none;
48+
}
49+
50+
/* Issue page */
51+
body:not(.wgh-disabled) .application-main div[data-target="react-app.reactRoot"] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] > div[class^='Box-sc-'] {
52+
max-width: none;
53+
}
54+
55+
/* New issue page */
56+
body:not(.wgh-disabled) .application-main div[data-target="react-app.reactRoot"] div[class^='IssueCreatePage-module__createPaneContainer-'] {
57+
max-width: none;
58+
}

0 commit comments

Comments
 (0)