Avoid sticky header overlap when linking to comments
Author: freganteCreated Jul 31, 2026Updated Sep 4, 2026
Labelsenhancementhelp wantedsmallgithub bug
Description
This:
I'm not sure if it's just an issue with PR review comments, I can't repro elsewhere.
The fix is simple though, it just needs testing in other parts of the site and a more specific selector
[id] {
scroll-margin-top: 80px;
}The code will go in github-bugs.css
Example URLs
https://github.com/refined-github/sandbox/pull/47#discussion_r979366510
Source: refined-github/refined-github