Style changes after streamlit upgrade

Hi, I have recently upgraded my project from Streamlit v 1.44.1 to 1.49.0 and have noticed a few stylistic differences, that break my app design:

  1. The links to subpages in sidebar (using st.Page in navigation) has gotten smaller and are now too small in comparison to the regular text added in the rest of the sidebar.
  2. The page links in the sidebar are rendered differently and a label which was fully visible witihn the sidebar is now cut short.
  3. The expander header (the part, that stays visible when the expander is collapsed) now has border and different background color when expanded in comparison to its contents (this one is more of a neat pick, but I still much preferred the old style and would like to bring it back if possible).

I looked through release notes to see if there would be more decription to those changes, but didn’t find anything. Is there a way I can bring the old style back or at least fiddle with it, so that my app design stays coherent without changin other things?
I know this topic is a bit open, but perhaps someone had similar issues? Thanks

I think that I also noticed a couple of stylistic changes too. I rebuild a docker container at work with a requirements.txt file so it just grabs the latest version of streamlit. Are you able to just hardcode in a specific version like streamlit==1.48.0 in requirements.txt and see if it can still give you the changes that you want without the unwanted stylistic changes?

If you can share screenshots and code, there are likely CSS hacks to restore specific things. There have been many small changes to style and design as we’ve created the custom theming configuration options.