Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSLTRef not rendered well in dark mode #37264

Open
Anonymous-Humanoid opened this issue Dec 18, 2024 · 1 comment
Open

XSLTRef not rendered well in dark mode #37264

Anonymous-Humanoid opened this issue Dec 18, 2024 · 1 comment
Labels
Content:Other Any docs not covered by another "Content:" label sidebars Issues relating to sidebar navigation

Comments

@Anonymous-Humanoid
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/EXSLT/str

What specific section or headline is this issue about?

XPath/XSLT/EXSLT References

What information was incorrect, unhelpful, or incomplete?

The XPath references section does not display correctly in dark mode:

image

What did you expect to see?

This section should have a dark background in dark mode instead of a light background regardless of light/dark modes.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

Inline styles, which should not be used, are overriding the default behaviour, thereby fixing the background colour:

image

The background style should either be removed or use the light-dark function to support light and dark modes.

Thanks for your time.

MDN metadata

Page report details
@Anonymous-Humanoid Anonymous-Humanoid added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 18, 2024
@bsmth
Copy link
Member

bsmth commented Dec 18, 2024

Thanks for reporting. That's the {{XSLTRef}} macro, we should be removing this soon, as far as I know.

edit: relates to mdn/yari#9099

@Josh-Cena Josh-Cena added Content:Other Any docs not covered by another "Content:" label and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Dec 18, 2024
@Josh-Cena Josh-Cena changed the title Dark Mode Issue XSLTRef not rendered well in dark mode Dec 18, 2024
@bsmth bsmth added the sidebars Issues relating to sidebar navigation label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Other Any docs not covered by another "Content:" label sidebars Issues relating to sidebar navigation
Projects
None yet
Development

No branches or pull requests

3 participants