Tyche
Tyche

Reputation: 37

Increase font size in st.data_editor function in streamlit

I'm creating an application in streamlit that uses an editable table, in this case using st.data_editor. I'm trying to increase the font size within this dataframe, however, I can't figure out how exactly. I've tried injecting CSS, and even using components, but nothing is working. Any help is appreciated!

Here's the data editor code below:

# Data editor
edited_df = st.data_editor(
    processed_data,
    use_container_width=True,
    height=1000,
    key="data_editor",
    column_config={
        "_all": {
            "width": 150,  # default width for all columns
        }
    }
)

Upvotes: 2

Views: 39

Answers (0)

Related Questions