Long exception message overflows the red `st.exception` box
jrieke opened this issue · comments
Johannes Rieke commented
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
If you have a long exception message, it overflows the red box below:
Reproducible Code Example
import streamlit as st
raise RuntimeError("jsldfklasjlkdfklsdfjklkjlsdfsdfsdfsdfsdfsdfsdfsdfklsdfkljsdklfjskdjlfkjlsdfkl")
Steps To Reproduce
Run the app above. See playground here.
Expected Behavior
Text breaks to next line, similar to if you use e.g. st.warning
with a long string:
Current Behavior
See screenshot above.
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.40
- Python version:
- Operating System:
- Browser:
Additional Information
No response
github-actions commented