Fantastic - works perfectly, you saved my day, thank you so much! Edwin, may I ask a further question that is strongly connected with the dark/light topic and CSS of this thread? If you say please open another topic, this would be absolutely fine for me (and would probably help to keep things separated). The second issue with dark app schemes is as follows:
I use the absolutely beautiful Custom Component streamlet-tree-select (New Component: streamlit-tree-select, a simple and elegant checkbox tree). So useful to display and select hierarchies! Here something similar happens in dark mode: text is nearly invisible. How could I fix this with CSS? The issue was raised by others in the discussion linked above, but unfortunately it was never fixed. Here an example: