summaryrefslogtreecommitdiff
path: root/source/features/profile-gists-link.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2022-11-21 22:47:40 +0800
committerGravatar GitHub <noreply@github.com> 2022-11-21 22:47:40 +0800
commit1e4a8c01ab0ef040f7b48d4e6560830bf53c7dbe (patch)
treec4e3fcd63c8d5b4483112129ef83e7019a1371b4 /source/features/profile-gists-link.tsx
parent2ad068490d5bcbc81ef0e2319face9c11ab66ed2 (diff)
downloadrefined-github-1e4a8c01ab0ef040f7b48d4e6560830bf53c7dbe.tar.gz
refined-github-1e4a8c01ab0ef040f7b48d4e6560830bf53c7dbe.tar.zst
refined-github-1e4a8c01ab0ef040f7b48d4e6560830bf53c7dbe.zip
Fix: `profile-gists-link` appears in status selection on profile (#6167)
Diffstat (limited to 'source/features/profile-gists-link.tsx')
-rw-r--r--source/features/profile-gists-link.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/profile-gists-link.tsx b/source/features/profile-gists-link.tsx
index 2fd60209..57bf0810 100644
--- a/source/features/profile-gists-link.tsx
+++ b/source/features/profile-gists-link.tsx
@@ -34,7 +34,8 @@ function getUser(): {url: string; name: string} {
}
async function init(signal: AbortSignal): Promise<void> {
- observe('.UnderlineNav-body', appendTab, {signal});
+ // `.Layout-main` needed for specificity #6162
+ observe('.Layout-main .UnderlineNav-body', appendTab, {signal});
}
async function appendTab(navigationBar: Element): Promise<void> {