Skip to content

Commit cb1cbf6

Browse files
committed
wrap error text
1 parent a987437 commit cb1cbf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reflex/components/base/error_boundary.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,10 @@ def create(cls, *children, **props):
101101
div(
102102
pre(
103103
Var(_js_expr=_ERROR_DISPLAY),
104+
word_break="break-word",
105+
white_space="pre-wrap",
104106
),
105107
padding="0.5rem",
106-
width="fit-content",
107108
),
108109
width="100%",
109110
background="color-mix(in srgb, currentColor 5%, transparent)",

0 commit comments

Comments
 (0)