Skip to content

Commit ab97017

Browse files
committed
chore(page_main_container): Either a fill carrier or not
1 parent c34fae6 commit ab97017

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

shiny/ui/_page.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,9 @@ def page_sidebar(
151151

152152
def page_main_container(*args: TagChild, fillable: bool = True) -> Tag:
153153
main = tags.main({"class": "bslib-page-main bslib-gap-spacing"}, *args)
154-
main = as_fill_item(main)
155154
if not fillable:
156155
return main
157-
else:
158-
return as_fillable_container(main)
156+
return as_fillable_container(as_fill_item(main))
159157

160158

161159
@no_example()

0 commit comments

Comments
 (0)