Skip to content

Ensure custom CSS is added *after* the extension CSS - #5493

Merged
fregante merged 3 commits into
mainfrom
add-custom-css-to-body
Mar 13, 2022
Merged

fregante merged 3 commits into
mainfrom
add-custom-css-to-body

Conversation

@fregante

Copy link
Copy Markdown
Member

@fregante

Copy link
Copy Markdown
Member Author

Indeed this seems to work:

  • <style> is the custom style I added
  • injected stylesheet is refined-github.css

Screen Shot 8

@fregante
fregante marked this pull request as ready for review March 13, 2022 09:32

@cheap-glitch cheap-glitch left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm it's working on Firefox too:

.rgh-hide-diff-signs .blob-code-inner::before,
.rgh-hide-diff-signs .blob-code-marker-cell::before {
	visibility: visible !important;
}

image

@fregante
fregante merged commit 84d7121 into main Mar 13, 2022
@fregante
fregante deleted the add-custom-css-to-body branch March 13, 2022 12:32
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.

The user’s CSS is injected before Refined GitHub’s

2 participants