Open nic-obert opened 6 months ago
Managed to reproduce on 4.9.84 and 4.9.85 (trunk).
.cm-scroller:before {
background-color: var(--darkreader-neutral-background) !important;
}
.cm-scroller:after {
background-color: var(--darkreader-neutral-background) !important;
}
.cm-scroller {
background-color: var(--darkreader-neutral-background) !important;
}
This seemed to fix it for me, can you check if this works for you @nic-obert?
Managed to reproduce on 4.9.84 and 4.9.85 (trunk).
.cm-scroller:before { background-color: var(--darkreader-neutral-background) !important; } .cm-scroller:after { background-color: var(--darkreader-neutral-background) !important; } .cm-scroller { background-color: var(--darkreader-neutral-background) !important; }
This seemed to fix it for me, can you check if this works for you @nic-obert?
Pasting this CSS in the head > style.darkreader.darkreader--user-agent
HTML element works perfectly. The entire editor text area is displayed as black as it should.
Edit:
I figured it would be nice to add a screenshot of the resulting page
Prerequisites
Website Issue Description
When editing a file on GitHub, using GitHub's online text editor, the unwritten part of the editor's text area is white. The part of the text area that actually contains text (including newlines) is correctly displayed as black. However, the remaining portion of the text area, which doesn't contain any text, is displayed as white.
Website Address
https://github.com
Steps To Reproduce
Screenshots
Operating System
ArcoLinux (arch-based) Kernel 6.8.9-arch1-2
Web Browser name and version
Google Chrome 124.0.6367.201
Dark Reader version
4.9.84
Additional Context
The problem persists after any combination of refreshing the page and disabling/enabling dark mode