Skip to content
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

default-branch-button - Restore feature in sidebar #7600

Merged
merged 7 commits into from
Jul 26, 2024

Conversation

kovsu
Copy link
Contributor

@kovsu kovsu commented Jul 26, 2024

close: #7549

Test URLs

Screenshot

When default-branch-button appears in the header, we can find the closet container element so it works fine!

image

But whetn it appears in the sidebar, the closet container element is null. And I think we don't need to add rgh-z-index-5 class in this situation.

image

@kovsu
Copy link
Contributor Author

kovsu commented Jul 26, 2024

after:

image

source/github-helpers/index.ts Show resolved Hide resolved
@fregante fregante changed the title default-branch-button - z-index issue in file header overlap default-branch-button - Restore feature in sidebar Jul 26, 2024
@fregante fregante enabled auto-merge (squash) July 26, 2024 03:42
@fregante fregante merged commit 6cf5ec9 into refined-github:main Jul 26, 2024
9 checks passed
@kovsu kovsu deleted the fix-#7549 branch July 26, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

default-branch-button doesn't appear on isSingleFile pages
2 participants