-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix background-color in <select> elements in dark theme
#15098
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
Fix background-color in <select> elements in dark theme
#15098
Conversation
|
Thanks for making a pull request to jupyterlab! |
|
Thanks for submitting your first pull request! You are awesome! 🤗 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for opening a PR @Rmarieta! I can confirm that this fixes the issue in the property inspector. However, it looks that the bug affects not only the property inspector, but also other places where the form editor is used, for example settings:
Would it be better to instead add:
.jp-inputFieldWrapper > select > option {
background-color: var(--jp-layout-color1);
}to packages/ui-components/style/rjsfTemplates.css where other .jp-inputFieldWrapper styles are?
|
I pushed a commit generalising the fix to all |
<select> elements in dark theme
|
@meeseeksdev please backport to 4.0.x |
…ents in dark theme
…rk theme (#15159) Co-authored-by: Raphaël Mariétan <raphael.marietan@hotmail.com>



References
Issue #15091
Code changes
Small CSS fix
User-facing changes
Backwards-incompatible changes