Skip to content

Commit 27923d0

Browse files
authored
Fix label on hovercard (#197)
1 parent 52f8476 commit 27923d0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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": "10.5",
7+
"version": "10.6",
88
"homepage_url": "https://github.com/KatsuteDev/GitHub-Red-Issues",
99
"icons": {
1010
"16": "icon16.png",

src/style.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
button[data-testid="mark-as-action-menu-button"] *,
1313
ul[data-testid="mark-as-action-menu-list"] *
1414
) > :not(
15-
span.State--merged,
15+
.State--merged,
1616
span[class^="StateLabel__StateLabelBase"],
1717
span[class^="prc-StateLabel-StateLabel"],
1818
div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]),
@@ -45,7 +45,9 @@ projects-v2 div:has(> span ~ h1) span[data-variant="done"] {
4545
span[class^="prc-StateLabel-StateLabel"],
4646
):has(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"] + 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"]),
4747
/* milestone badge */
48-
span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"]
48+
span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"],
49+
/* hovercards */
50+
.State--merged:has(svg.octicon-issue-closed)
4951
{
5052
box-shadow: var(--boxShadow-thin, inset 0 0 0 max(1px, 0.0625rem)) var(--rissue-issue-closed) !important;
5153
}
@@ -57,7 +59,9 @@ span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"]
5759
/* timeline icon */
5860
div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]):has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]),
5961
/* milestone badge */
60-
span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"]
62+
span[class*="RepositoryMilestone-module__milestoneStatus"][data-status="closed"],
63+
/* hovercards */
64+
.State--merged:has(svg.octicon-issue-closed)
6165
{
6266
border-color: var(--rissue-issue-closed) !important;
6367
background-color: var(--rissue-issue-closed) !important;

0 commit comments

Comments
 (0)