Skip to content

Commit

Permalink
Merge pull request #78 from xthexder/assignee_fix
Browse files Browse the repository at this point in the history
Fix selectors to work with new GitHub turbo-frame usage
  • Loading branch information
xthexder authored Apr 21, 2023
2 parents 887aaef + 4bf2f00 commit 62cf2b1
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
22 changes: 11 additions & 11 deletions build/wide-github.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@contributor Robert Laverty (https://github.com/roblav96)
@contributor Amir Meimari (https://github.com/amirmeimari)
@license MIT; https://raw.githubusercontent.com/xthexder/wide-github/master/LICENSE
@version 1.5.1
@version 1.5.2
@homepageURL https://github.com/xthexder/wide-github
@supportURL https://github.com/xthexder/wide-github/issues
==/UserStyle== */
Expand Down Expand Up @@ -44,13 +44,13 @@
}

/* Repository Issues */
body:not(.wgh-disabled) #js-repo-pjax-container .repository-content .discussion-timeline { /* Issue body */
body:not(.wgh-disabled) #js-repo-pjax-container .discussion-timeline { /* Issue body */
width: 100% !important;
}
body:not(.wgh-disabled) .repository-content .timeline-new-comment { /* New Issue / issue comment form */
body:not(.wgh-disabled) #js-repo-pjax-container .timeline-new-comment { /* New Issue / issue comment form */
max-width: 100% !important;
}
body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-bucket > div { /* New PR code diff */
body:not(.wgh-disabled) #js-repo-pjax-container .new-discussion-timeline .files-bucket > div { /* New PR code diff */
width: inherit !important;
left: auto !important;
right: auto !important;
Expand All @@ -59,19 +59,19 @@
padding-left: 0px !important;
padding-right: 0px !important;
}
body:not(.wgh-disabled) .repository-content .inline-comments .comment-holder, /* Diff / code comments */
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form-container,
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form,
body:not(.wgh-disabled) .repository-content #all_commit_comments .commit-comments-heading,
body:not(.wgh-disabled) .repository-content #all_commit_comments .comment-holder {
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .comment-holder, /* Diff / code comments */
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form-container,
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form,
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .commit-comments-heading,
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .comment-holder {
max-width: inherit !important;
}
body:not(.wgh-disabled) .repository-content .js-issue-row .text-right { /* Issue list Assignee alignment */
body:not(.wgh-disabled) #js-repo-pjax-container .js-issue-row .text-right { /* Issue list Assignee alignment */
max-width: 303px !important;
}

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

Expand Down
22 changes: 11 additions & 11 deletions build/wide-github.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// @contributor Robert Laverty (https://github.com/roblav96)
// @contributor Amir Meimari (https://github.com/amirmeimari)
// @license MIT; https://raw.githubusercontent.com/xthexder/wide-github/master/LICENSE
// @version 1.5.1
// @version 1.5.2
// @icon https://raw.githubusercontent.com/xthexder/wide-github/master/icons/icon.png
// @homepageURL https://github.com/xthexder/wide-github
// @supportURL https://github.com/xthexder/wide-github/issues
Expand Down Expand Up @@ -49,13 +49,13 @@ var styleSheet = "" +
"}" +

// Repository Issues
"body:not(.wgh-disabled) #js-repo-pjax-container .repository-content .discussion-timeline {" + // Issue body
"body:not(.wgh-disabled) #js-repo-pjax-container .discussion-timeline {" + // Issue body
"width: 100% !important;" +
"}" +
"body:not(.wgh-disabled) .repository-content .timeline-new-comment {" + // New Issue / issue comment form
"body:not(.wgh-disabled) #js-repo-pjax-container .timeline-new-comment {" + // New Issue / issue comment form
"max-width: 100% !important;" +
"}" +
"body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-bucket > div {" + // New PR code diff
"body:not(.wgh-disabled) #js-repo-pjax-container .new-discussion-timeline .files-bucket > div {" + // New PR code diff
"width: inherit !important;" +
"left: auto !important;" +
"right: auto !important;" +
Expand All @@ -64,19 +64,19 @@ var styleSheet = "" +
"padding-left: 0px !important;" +
"padding-right: 0px !important;" +
"}" +
"body:not(.wgh-disabled) .repository-content .inline-comments .comment-holder," + // Diff / code comments
"body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form-container," +
"body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form," +
"body:not(.wgh-disabled) .repository-content #all_commit_comments .commit-comments-heading," +
"body:not(.wgh-disabled) .repository-content #all_commit_comments .comment-holder {" +
"body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .comment-holder," + // Diff / code comments
"body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form-container," +
"body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form," +
"body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .commit-comments-heading," +
"body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .comment-holder {" +
"max-width: inherit !important;" +
"}" +
"body:not(.wgh-disabled) .repository-content .js-issue-row .text-right {" + // Issue list Assignee alignment
"body:not(.wgh-disabled) #js-repo-pjax-container .js-issue-row .text-right {" + // Issue list Assignee alignment
"max-width: 303px !important;" +
"}" +

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

Expand Down
4 changes: 2 additions & 2 deletions chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

"name": "Wide GitHub",
"description": "Change all GitHub repository and gist pages to be full width and dynamically sized.",
"version": "1.5.1",
"version_name": "1.5.1 MV3",
"version": "1.5.2",
"version_name": "1.5.2 MV3",
"icons": {
"32": "icons/icon32.png",
"48": "icons/icon48.png",
Expand Down
2 changes: 1 addition & 1 deletion mozilla/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 and gist pages to be full width and dynamically sized.",
"version": "1.5.1",
"version": "1.5.2",
"icons": {
"32": "icons/icon32.png",
"48": "icons/icon48.png",
Expand Down
20 changes: 10 additions & 10 deletions wide-github.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ body:not(.wgh-disabled) .pr-toolbar {
}

/* Repository Issues */
body:not(.wgh-disabled) #js-repo-pjax-container .repository-content .discussion-timeline { /* Issue body */
body:not(.wgh-disabled) #js-repo-pjax-container .discussion-timeline { /* Issue body */
width: 100% !important;
}
body:not(.wgh-disabled) .repository-content .timeline-new-comment { /* New Issue / issue comment form */
body:not(.wgh-disabled) #js-repo-pjax-container .timeline-new-comment { /* New Issue / issue comment form */
max-width: 100% !important;
}
body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-bucket > div { /* New PR code diff */
body:not(.wgh-disabled) #js-repo-pjax-container .new-discussion-timeline .files-bucket > div { /* New PR code diff */
width: inherit !important;
left: auto !important;
right: auto !important;
Expand All @@ -40,19 +40,19 @@ body:not(.wgh-disabled) .repository-content .new-discussion-timeline .files-buck
padding-left: 0px !important;
padding-right: 0px !important;
}
body:not(.wgh-disabled) .repository-content .inline-comments .comment-holder, /* Diff / code comments */
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form-container,
body:not(.wgh-disabled) .repository-content .inline-comments .inline-comment-form,
body:not(.wgh-disabled) .repository-content #all_commit_comments .commit-comments-heading,
body:not(.wgh-disabled) .repository-content #all_commit_comments .comment-holder {
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .comment-holder, /* Diff / code comments */
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form-container,
body:not(.wgh-disabled) #js-repo-pjax-container .inline-comments .inline-comment-form,
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .commit-comments-heading,
body:not(.wgh-disabled) #js-repo-pjax-container #all_commit_comments .comment-holder {
max-width: inherit !important;
}
body:not(.wgh-disabled) .repository-content .js-issue-row .text-right { /* Issue list Assignee alignment */
body:not(.wgh-disabled) #js-repo-pjax-container .js-issue-row .text-right { /* Issue list Assignee alignment */
max-width: 303px !important;
}

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

Expand Down

0 comments on commit 62cf2b1

Please sign in to comment.