Skip to content

Commit c00e8d7

Browse files
committed
Missed a default
1 parent 6de5fc7 commit c00e8d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shiny/ui/_markdown_stream.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,14 @@ async def _raise_exception(self, e: BaseException):
265265

266266
@add_example("app-express.py")
267267
class ExpressMarkdownStream(MarkdownStream):
268+
268269
def ui(
269270
self,
270271
*,
271272
content: TagChild = "",
272273
content_type: StreamingContentType = "markdown",
273274
auto_scroll: bool = True,
274-
width: CssUnit = "100%",
275+
width: CssUnit = "min(680px, 100%)",
275276
height: CssUnit = "auto",
276277
) -> Tag:
277278
"""

0 commit comments

Comments
 (0)