summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-02-01 13:25:42 +0800
committerGravatar GitHub <noreply@github.com> 2023-02-01 05:25:42 +0000
commitcecca031c531d49b041292aaee7e3b79fb687e6c (patch)
tree902a102097ca9c70d189082811624cd9964afd8b
parentbe264ed3d865bec38e44eaa1cb7d0a1b9e455ff6 (diff)
downloadrefined-github-cecca031c531d49b041292aaee7e3b79fb687e6c.tar.gz
refined-github-cecca031c531d49b041292aaee7e3b79fb687e6c.tar.zst
refined-github-cecca031c531d49b041292aaee7e3b79fb687e6c.zip
Restore `linkify-user-labels` (#6264)
-rw-r--r--source/features/clean-conversation-headers.css2
-rw-r--r--source/features/linkify-user-labels.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/features/clean-conversation-headers.css b/source/features/clean-conversation-headers.css
index 91d762f0..f66c47e0 100644
--- a/source/features/clean-conversation-headers.css
+++ b/source/features/clean-conversation-headers.css
@@ -30,7 +30,7 @@
/* Removes on issues: [octocat] opened this issue on 1 Jan ยท 1 comments */
/* Removes on PRs: [octocat] merged 1 commit into master from feature */
-.rgh-clean-conversation-headers.rgh-clean-conversation-headers-hide-author .author + .Label,
+.rgh-clean-conversation-headers.rgh-clean-conversation-headers-hide-author .author + .Label, /* #5832 */
.rgh-clean-conversation-headers.rgh-clean-conversation-headers-hide-author .author {
display: none;
}
diff --git a/source/features/linkify-user-labels.tsx b/source/features/linkify-user-labels.tsx
index afdee44b..3a22d879 100644
--- a/source/features/linkify-user-labels.tsx
+++ b/source/features/linkify-user-labels.tsx
@@ -8,8 +8,8 @@ import getCommentAuthor from '../github-helpers/get-comment-author';
import observe from '../helpers/selector-observer';
const selectors = [
- '.Label[aria-label*="a member of the"]',
- '.Label[aria-label^="This user has previously committed"]',
+ '.tooltipped[aria-label*="a member of the"]',
+ '.tooltipped[aria-label^="This user has previously committed"]',
];
function init(signal: AbortSignal): void {