Skip to content

Commit 62cf2b1

Browse files
authored
Merge pull request #78 from xthexder/assignee_fix
Fix selectors to work with new GitHub turbo-frame usage
2 parents 887aaef + 4bf2f00 commit 62cf2b1

File tree

5 files changed

+35
-35
lines changed

5 files changed

+35
-35
lines changed

build/wide-github.user.css

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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.5.1
13+
@version 1.5.2
1414
@homepageURL https://github.com/xthexder/wide-github
1515
@supportURL https://github.com/xthexder/wide-github/issues
1616
==/UserStyle== */
@@ -44,13 +44,13 @@
4444
}
4545

4646
/* Repository Issues */
47-
body:not(.wgh-disabled) #js-repo-pjax-container .repository-content .discussion-timeline { /* Issue body */
47+
body:not(.wgh-disabled) #js-repo-pjax-container .discussion-timeline { /* Issue body */
4848
width: 100% !important;
4949
}
50-
body:not(.wgh-disabled) .repository-content .timeline-new-comment { /* New Issue / issue comment form */
50+
body:not(.wgh-disabled) #js-repo-pjax-container .timeline-new-comment { /* New Issue / issue comment form */
5151
max-width: 100% !important;
5252
}
53-
body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-bucket > div { /* New PR code diff */
53+
body:not(.wgh-disabled) #js-repo-pjax-container .new-discussion-timeline .files-bucket > div { /* New PR code diff */
5454
width: inherit !important;
5555
left: auto !important;
5656
right: auto !important;
@@ -59,19 +59,19 @@
5959
padding-left: 0px !important;
6060
padding-right: 0px !important;
6161
}
62-
body:not(.wgh-disabled) .repository-content .inline-comments .comment-holder, /* Diff / code comments */
63-
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form-container,
64-
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form,
65-
body:not(.wgh-disabled) .repository-content #all_commit_comments .commit-comments-heading,
66-
body:not(.wgh-disabled) .repository-content #all_commit_comments .comment-holder {
62+
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .comment-holder, /* Diff / code comments */
63+
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form-container,
64+
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form,
65+
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .commit-comments-heading,
66+
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .comment-holder {
6767
max-width: inherit !important;
6868
}
69-
body:not(.wgh-disabled) .repository-content .js-issue-row .text-right { /* Issue list Assignee alignment */
69+
body:not(.wgh-disabled) #js-repo-pjax-container .js-issue-row .text-right { /* Issue list Assignee alignment */
7070
max-width: 303px !important;
7171
}
7272

7373
/* Repository graph page */
74-
body:not(.wgh-disabled) .repository-content .capped-card-content { /* Graph cards on contributors / graph list */
74+
body:not(.wgh-disabled) #js-repo-pjax-container .capped-card-content { /* Graph cards on contributors / graph list */
7575
width: 100% !important;
7676
}
7777

build/wide-github.user.js

+11-11
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.5.1
15+
// @version 1.5.2
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
@@ -49,13 +49,13 @@ var styleSheet = "" +
4949
"}" +
5050

5151
// Repository Issues
52-
"body:not(.wgh-disabled) #js-repo-pjax-container .repository-content .discussion-timeline {" + // Issue body
52+
"body:not(.wgh-disabled) #js-repo-pjax-container .discussion-timeline {" + // Issue body
5353
"width: 100% !important;" +
5454
"}" +
55-
"body:not(.wgh-disabled) .repository-content .timeline-new-comment {" + // New Issue / issue comment form
55+
"body:not(.wgh-disabled) #js-repo-pjax-container .timeline-new-comment {" + // New Issue / issue comment form
5656
"max-width: 100% !important;" +
5757
"}" +
58-
"body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-bucket > div {" + // New PR code diff
58+
"body:not(.wgh-disabled) #js-repo-pjax-container .new-discussion-timeline .files-bucket > div {" + // New PR code diff
5959
"width: inherit !important;" +
6060
"left: auto !important;" +
6161
"right: auto !important;" +
@@ -64,19 +64,19 @@ var styleSheet = "" +
6464
"padding-left: 0px !important;" +
6565
"padding-right: 0px !important;" +
6666
"}" +
67-
"body:not(.wgh-disabled) .repository-content .inline-comments .comment-holder," + // Diff / code comments
68-
"body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form-container," +
69-
"body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form," +
70-
"body:not(.wgh-disabled) .repository-content #all_commit_comments .commit-comments-heading," +
71-
"body:not(.wgh-disabled) .repository-content #all_commit_comments .comment-holder {" +
67+
"body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .comment-holder," + // Diff / code comments
68+
"body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form-container," +
69+
"body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form," +
70+
"body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .commit-comments-heading," +
71+
"body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .comment-holder {" +
7272
"max-width: inherit !important;" +
7373
"}" +
74-
"body:not(.wgh-disabled) .repository-content .js-issue-row .text-right {" + // Issue list Assignee alignment
74+
"body:not(.wgh-disabled) #js-repo-pjax-container .js-issue-row .text-right {" + // Issue list Assignee alignment
7575
"max-width: 303px !important;" +
7676
"}" +
7777

7878
// Repository graph page
79-
"body:not(.wgh-disabled) .repository-content .capped-card-content {" + // Graph cards on contributors / graph list
79+
"body:not(.wgh-disabled) #js-repo-pjax-container .capped-card-content {" + // Graph cards on contributors / graph list
8080
"width: 100% !important;" +
8181
"}" +
8282

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.5.1",
7-
"version_name": "1.5.1 MV3",
6+
"version": "1.5.2",
7+
"version_name": "1.5.2 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.5.1",
6+
"version": "1.5.2",
77
"icons": {
88
"32": "icons/icon32.png",
99
"48": "icons/icon48.png",

wide-github.css

+10-10
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ body:not(.wgh-disabled) .pr-toolbar {
2525
}
2626

2727
/* Repository Issues */
28-
body:not(.wgh-disabled) #js-repo-pjax-container .repository-content .discussion-timeline { /* Issue body */
28+
body:not(.wgh-disabled) #js-repo-pjax-container .discussion-timeline { /* Issue body */
2929
width: 100% !important;
3030
}
31-
body:not(.wgh-disabled) .repository-content .timeline-new-comment { /* New Issue / issue comment form */
31+
body:not(.wgh-disabled) #js-repo-pjax-container .timeline-new-comment { /* New Issue / issue comment form */
3232
max-width: 100% !important;
3333
}
34-
body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-bucket > div { /* New PR code diff */
34+
body:not(.wgh-disabled) #js-repo-pjax-container .new-discussion-timeline .files-bucket > div { /* New PR code diff */
3535
width: inherit !important;
3636
left: auto !important;
3737
right: auto !important;
@@ -40,19 +40,19 @@ body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-buck
4040
padding-left: 0px !important;
4141
padding-right: 0px !important;
4242
}
43-
body:not(.wgh-disabled) .repository-content .inline-comments .comment-holder, /* Diff / code comments */
44-
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form-container,
45-
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form,
46-
body:not(.wgh-disabled) .repository-content #all_commit_comments .commit-comments-heading,
47-
body:not(.wgh-disabled) .repository-content #all_commit_comments .comment-holder {
43+
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .comment-holder, /* Diff / code comments */
44+
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form-container,
45+
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form,
46+
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .commit-comments-heading,
47+
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .comment-holder {
4848
max-width: inherit !important;
4949
}
50-
body:not(.wgh-disabled) .repository-content .js-issue-row .text-right { /* Issue list Assignee alignment */
50+
body:not(.wgh-disabled) #js-repo-pjax-container .js-issue-row .text-right { /* Issue list Assignee alignment */
5151
max-width: 303px !important;
5252
}
5353

5454
/* Repository graph page */
55-
body:not(.wgh-disabled) .repository-content .capped-card-content { /* Graph cards on contributors / graph list */
55+
body:not(.wgh-disabled) #js-repo-pjax-container .capped-card-content { /* Graph cards on contributors / graph list */
5656
width: 100% !important;
5757
}
5858

0 commit comments

Comments
 (0)