st.dataframe is a great component. But 2 features are extremely annoying for me:
The default font is 14px (instead of 16px which seams to be used by the rest of the app)
It seams hardcoded in
useCustomTheme.ts:
baseFontStyle: theme.fontSizes.sm,
I haven’t found a way to change the font size to standard 16px (except for a patch in the js file in the streamlit python package)
In my opinion, the height should be defined in lines instead of pixels. Specifying it in pixels makes it extremely difficult to completely display a table with >10 lines.