Skip to content

default-branch-button - Fix pink button on GHE - #7859

Merged
fregante merged 6 commits into
refined-github:mainfrom
JakeMerdichAMD:patch-1
Oct 6, 2024
Merged

fregante merged 6 commits into
refined-github:mainfrom
JakeMerdichAMD:patch-1

Conversation

@JakeMerdichAMD

Copy link
Copy Markdown
Contributor

Adding old css variables and tweaking the selectors so this doesn't render incorrectly on older GHES platforms.

Fixes #7857

Test URLs

https://github.com/refined-github/refined-github/tree/sandbox/keep-branch?rgh-link-date=2024-10-04T15%3A40%3A11Z

Screenshot

#7857 (comment)

Adding old css variables and tweaking the selectors so this doesn't render incorrectly on older GHES platforms.

Fixes refined-github#7857
@fregante

fregante commented Oct 4, 2024

Copy link
Copy Markdown
Member

You can run npm run fix to fix everything at once

@JakeMerdichAMD

Copy link
Copy Markdown
Contributor Author

Thank you! I'm not super familiar with javascript tooling and was struggling to find what to fix.

@fregante

fregante commented Oct 4, 2024

Copy link
Copy Markdown
Member

For this to be merged though you have to make sure that it doesn’t break the dropdown, otherwise we’re back to square one. Your “screenshot” link points to those broken screenshots.

@JakeMerdichAMD

Copy link
Copy Markdown
Contributor Author

This changes fixes the dropdown, not breaks it. I included that image for 'before' because it wasn't clear what was being fixed otherwise.

@fregante

fregante commented Oct 4, 2024

Copy link
Copy Markdown
Member

Ahhh I had misread your message because you put the “before” picture after the fixed one. 🙂

@fregante fregante changed the title default-branch-button: Button has pink corruption on GHES default-branch-button - Fix pink button on GHE Oct 4, 2024
@fregante fregante self-assigned this Oct 4, 2024
@fregante fregante added bug enterprise Related to GitHub Enterprise only labels Oct 4, 2024
@fregante
fregante enabled auto-merge (squash) October 6, 2024 13:15
@fregante

fregante commented Oct 6, 2024

Copy link
Copy Markdown
Member

I hotfixed this CSS via refined-github/yolo@5996319 in v24.10.1

@fregante
fregante merged commit 86f82f0 into refined-github:main Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug enterprise Related to GitHub Enterprise only

Development

Successfully merging this pull request may close these issues.

default-branch-button: Button has pink corruption on GHES

2 participants