`clean-repo-sidebar` - Preserve repository edit button by wakamex · Pull Request #10029 · refined-github/refined-github · GitHub
Skip to content

clean-repo-sidebar - Preserve repository edit button - #10029

Open
wakamex wants to merge 1 commit into
refined-github:mainfrom
wakamex:fix-clean-repo-sidebar-edit-button
Open

clean-repo-sidebar - Preserve repository edit button#10029
wakamex wants to merge 1 commit into
refined-github:mainfrom
wakamex:fix-clean-repo-sidebar-edit-button

Conversation

@wakamex

@wakamex wakamex commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #10027

GitHub renders the repository metadata edit control inside the About heading, so hiding the heading also hid the control. This keeps the heading when it contains that control and only removes the description margin when the heading is hidden.

Tested with npm test.

Controlled owner-DOM reproduction using GitHub’s current Edit repository metadata button markup. Both captures use the same page, viewport, and sidebar crop. Only the clean-repo-sidebar CSS differs.

Before
owned-sidebar-before-9e86fd7f-owner-emulation

After
owned-sidebar-after-9e05e857-owner-emulation

Comment thread source/features/clean-repo-sidebar.css Outdated
@fregante

fregante commented Sep 3, 2026

Copy link
Copy Markdown
Member

@wakamex
wakamex force-pushed the fix-clean-repo-sidebar-edit-button branch from 9e05e85 to d8d991f Compare September 3, 2026 16:26
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

clean-repo-sidebar removes the "About" heading with the settings cogwheel on my own repositories, making it impossible to edit

2 participants