sticky-sidebar - Restore on PR conversation page#8979
Open
SunsetTechuila wants to merge 5 commits intomainfrom
Open
sticky-sidebar - Restore on PR conversation page#8979SunsetTechuila wants to merge 5 commits intomainfrom
sticky-sidebar - Restore on PR conversation page#8979SunsetTechuila wants to merge 5 commits intomainfrom
Conversation
SunsetTechuila
commented
Feb 14, 2026
| @@ -27,26 +20,15 @@ Exclusively use simple sums and use `0px` instead of `0` | |||
| /* It needs to be on the same element as above for calc() to work */ | |||
| --rgh-sticky-notification-header-height: 69px; | |||
Member
Author
There was a problem hiding this comment.
We can use --base-sticky-header-height GH variable. sticky-comment-header already does
SunsetTechuila
commented
Feb 14, 2026
| [id^='my-forks-menu'] { | ||
| z-index: initial !important; /* This affects the social buttons. It seems to have no effect but it constantly causes trouble with other features. */ | ||
| } | ||
|
|
SunsetTechuila
commented
Feb 14, 2026
Comment on lines
45
to
48
| /* Hides the last divider (on pull requests) to avoid https://user-images.githubusercontent.com/10238474/62282128-af6fb980-b457-11e9-8b18-c29687b88da1.gif */ | ||
| .rgh-sticky-sidebar + .border-top { | ||
| display: none; | ||
| } |
SunsetTechuila
commented
Feb 14, 2026
Comment on lines
-31
to
-34
| /* required to make `sticky` work for the issue Sidebar */ | ||
| .rgh-sticky-sidebar-container { | ||
| display: unset !important; | ||
| } |
SunsetTechuila
commented
Feb 14, 2026
| '.Layout-sidebar #partial-discussion-sidebar', // Old `isConversation` | ||
| 'div[data-testid="issue-viewer-metadata-pane"]', // `isConversation` | ||
| '#discussion_bucket #partial-discussion-sidebar', // `isDiscussion` | ||
| 'div[data-testid="issue-viewer-metadata-pane"]', // Issue `isConversation`. TODO: Remove after March 2026 |
Member
Author
There was a problem hiding this comment.
Issue sidebar is natively sticky for at least 5 months: #8696
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#8946 + cleanup
Test URLs
https://github.com/refined-github/refined-github
#6752
#755
https://github.com/orgs/community/discussions/40299
Screenshot