How to Make Streamlit Text Area Wider?

even in wide mode (st.set_page_config(layout="wide")) the text fields in streamlit have a fixed max width leading to non-pretty results in some cases:

Is there a way to adjust the width? idealy to 100% of the screen width?

I tried st.markdown, but it seems to have the same limitation.

1
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article