Giscus displays dark background in light mode #6938
-
ContextNo response Bug descriptionThe Comment Section Dose Not Render properly when using python 3.11. Python 3.12 [fine]: - Related linksReproductionProject Zip File :- dump.zip Steps to reproduce
BrowserEdge Before submitting
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Thanks for getting in touch. Can you please do us the favour and create the reproduction using the info plugin as described in Creating a reproduction as this packs up additional information. I am somewhat surprised that you tracked this down to the difference between Python 3.11 and 3.12. Are you sure that you can reproduce the desired as well as the undesired behavior simply be switching the version of the Python interpreter? I am asking because this is more likely to be an issue with the JavaScript and the browser. Running your reproduction, I could not see the issue with Python 3.11 on MacOS and Firefox but that does not have to mean anything except I need to try again using a Windows machine a bit later on. |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting. Note that our touch point with Giscus is only the |
Beta Was this translation helpful? Give feedback.
-
This is caused by the Currently you can add an additional css file containing the following code to temporarily fix this issue. .md-typeset iframe.giscus-frame {
color-scheme: light dark !important;
} |
Beta Was this translation helpful? Give feedback.
This is caused by the
color-scheme: light
property of the.md-typeset iframe
. If you disable it, the weird black background disappears.Currently you can add an additional css file containing the following code to temporarily fix this issue.