New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sticky header backgrounds #1068
Comments
Can not reproduce. Try to update/reinstall. |
The issue was actually caused by GitHub-FixedHeader being used with this style (see related StylishThemes/GitHub-FixedHeader#16). Should I close this issue and reopen on there? |
I just noticed this myself when the sticky header disappeared behind the sticky notification banner. Looks like github pushed a change out earlier that broke this. I'm not using the fixed header style, but I do have a custom one that functions similarly. Not sure how similar the issues are between the styles but my fix was to add: body:not(.min-width-lg) .notification-shelf + .application-main .gh-header-sticky.is-stuck,
body:not(.min-width-lg) .notification-shelf + .application-main .gh-header-sticky.is-stuck + .gh-header-shadow {
margin-top: var(--offset) !important;
} I think that css can be simplified, but I haven't looked into it too much since it fixed my issue. |
@h1nk can you give this a try now? It looks like GitHub just pushed a fix out for the issue page sticky header so this might not be an issue anymore. |
ping @h1nk |
That CSS rule along with the GitHub-Dark theme does not do the sticky header behavior like GitHub-FixedHeader for me. Not sure if I'm applying it wrong. |
The fix I posted isn't needed now with GitHub's latest update. At least for my style. |
Is it safe to close this? |
Guess so |
Sticky header backgrounds are transparent instead of opaque, such as in PRs.
The text was updated successfully, but these errors were encountered: