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

Dialogs Dark - Media details #9

Closed
friendlyanon opened this issue Dec 12, 2016 · 1 comment
Closed

Dialogs Dark - Media details #9

friendlyanon opened this issue Dec 12, 2016 · 1 comment

Comments

@friendlyanon
Copy link
Contributor

The preview gets inverted and I don't know why the invert rule doesn't apply to it as well even tho img is defined.

example

@NiklasGollenstede
Copy link
Owner

It admittedly took me a moment to find this, bit the fix is rather simple:
The UI in the popups is XUL, so I declared the styles namespace to be XUL. Bbut the img is actually an HTML element and thus can't be addressed from an XUL namespace.
To fix this, the HTML namespace has to be declared too, and the selector must be changed to *|img, which means imgin any namespace. ( html|img works too.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants