-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Local CSS is overridden by React-generated CSS #482
Comments
Quick and dirty fix: replace all |
What version of |
@valentijnnieman indeed, I thought it would have been solved. But I made sure I'm using v0.39.0…
|
Same behavior in v0.42.1 |
Same behavior in 0.45.0 |
Same here with dash 1.9.1 using |
I also have this issue. Any solutions yet? I can't find the part in my CSS which controls the dropdown menu colors. |
I am having the exact same issue but with |
Same issue with dcc.tabs. |
Update dashCoreComponents package in R to 0.44.0
Same behavior with dash-core-components ver. 2.0.0 @EBoisseauSierra 's trick works nicely
|
I have the same problem with |
Hello, Is there any update on a permanent fix for this? Thanks |
@ndretex are you referring to a CSS styling problem related to Dash Core Components or the Dash DataTable? |
Another quick and dirty fix, add !important to the css property you want to override |
Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are most important to our community. If this issue is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. (Please note that we will give priority to reports that include a short reproducible example.) If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson |
Context
I'm trying to style various DCC elements — say multi-value dropdowns.
Problem
I am using Dash v0.31.0.
I add a css file to my project containing:
I know the CSS is loaded as other rules (e.g. affecting
h1
) take effect.However, for the dropdown, my own styles are overridden by the React select .ccs file — i.e. the file starting with:
The latter is indeed passed as "inline":

Question
➥ How to enforce my CSS?
The text was updated successfully, but these errors were encountered: