You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
problem
This is a problem for people using sphinx-design via pydata-sphinx-theme because the theme defines a more specific selector .bd-content .sd-card .sd-card header, so even though the sd-bg-warning rule is pegged as !important it's not getting applied.
Heya thanks for the report, however, this feels a bit difficult to fix here. Would you be able to open an issue on pydata-sphinx-theme (and link it here), so we can work with them to see if there is a "mutual" fix?
chrisjsewell
changed the title
dropdowns don't get the styling from :color: option
pydata-sphinx-theme overrides dropdowns :color: option css class
Aug 15, 2022
Describe the bug
context
When I set
:color: warning
on a dropdown element, it's not getting styledexpectation
I expected it to get the colors associated with classes
sd-bg-warning sd-bg-text-warning
, which is what shows up on the child dropdown in the "nested dropdowns" example on https://sphinx-design.readthedocs.io/en/pydata-theme/dropdowns.html#dropdowns-in-other-componentsbug
But instead the dropdown is grey
problem
This is a problem for people using
sphinx-design
viapydata-sphinx-theme
because the theme defines a more specific selector.bd-content .sd-card .sd-card header
, so even though thesd-bg-warning
rule is pegged as!important
it's not getting applied.Reproduce the bug
List your environment
The text was updated successfully, but these errors were encountered: