Skip to content

Commit dd8fb67

Browse files
committed
Squashed commit of the following:
commit a949fd6 Author: Katsute <58778985+Katsute@users.noreply.github.com> Date: Mon Jan 23 21:09:07 2023 -0500 Update index.js commit b3b6cf2 Author: Katsute <58778985+Katsute@users.noreply.github.com> Date: Mon Jan 23 21:07:54 2023 -0500 svg update
1 parent 824e651 commit dd8fb67

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
e.addEventListener("DOMNodeInserted", (i) => {
2020
let svg;
2121
if(i.target.querySelector && (svg = i.target.querySelector("figure > span > svg"))){
22-
let path = svg.querySelector(`path[d="M11.28 6.78a.75.75 0 00-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l3.5-3.5z"]`);
22+
let path = svg.querySelector(`path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"]`);
2323
path && path.parentElement.parentElement.classList.add("rissue-closed-bg");
2424
};
2525
});

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "GitHub Red Issues",
55
"author": "Katsute",
66
"description": "Revert closed GitHub issues from purple back to red.",
7-
"version": "4.0",
7+
"version": "4.1",
88
"homepage_url": "https://github.com/KatsuteDev/GitHub-Red-Issues",
99
"icons": {
1010
"16": "icon16.png",

src/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
/* issue icon */
1212
:not(.State.State--merged):not(.TimelineItem-badge) > svg.octicon-issue-closed,
1313
/* projects beta icon */
14-
div[data-hovercard-subject-tag^="issue:"] path[d="M11.28 6.78a.75.75 0 00-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l3.5-3.5z"],
15-
div[data-hovercard-subject-tag^="issue:"] path[d="M16 8A8 8 0 110 8a8 8 0 0116 0zm-1.5 0a6.5 6.5 0 10-13 0 6.5 6.5 0 0013 0z"]
14+
div[data-hovercard-subject-tag^="issue:"] path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"],
15+
div[data-hovercard-subject-tag^="issue:"] path[d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]
1616
{
1717
color: var(--rissue-issue-closed-fg) !important;
1818
}

0 commit comments

Comments
 (0)