diff --git a/shiny/ui/_page.py b/shiny/ui/_page.py index 98eee94cd..0d2b0aa85 100644 --- a/shiny/ui/_page.py +++ b/shiny/ui/_page.py @@ -306,7 +306,7 @@ def page_fillable( # first set of attributes. FILLABLE_CONTAINTER_ATTRS, {"class": "bslib-page-fill bslib-gap-spacing", "style": style}, - {"class": "bslib-flow-mobile"} if fillable_mobile else None, + {"class": "bslib-flow-mobile"} if not fillable_mobile else None, attrs, *children, components_dependency(),