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
When streamlit app is in dark mode, the tooltip of the nivo Pie chart displays white text on white tooltip background instead of black (or any discernible color) on white or white text on dark background.
I tried to add a tooltip by examining the react code but I couldn't implement it.
I tried using the CSS hack injected through st.markdown() but it doesn't work in case of an iframe, which is the case for streamlit-elements nivo pie chart, its not possible to reach the element by class or id to affect the text color.
Config
Streamlit 1.27.2
Streamlit-elements 0.1.0
Python 3.10.2
Preview
The text was updated successfully, but these errors were encountered:
When streamlit app is in dark mode, the tooltip of the nivo Pie chart displays white text on white tooltip background instead of black (or any discernible color) on white or white text on dark background.
What I tried
st.markdown()
but it doesn't work in case of aniframe
, which is the case for streamlit-elements nivo pie chart, its not possible to reach the element by class or id to affect the text color.Config
Preview
The text was updated successfully, but these errors were encountered: