Skip to content

Spacing between elements within page_fillable() is off when no fill items are present #860

@cpsievert

Description

@cpsievert

For example, you get no spacing between these elements. The underlying cause is that page_fillable() currently doesn't bring in the underlying fill.css

from shiny import App, ui

app_ui = ui.page_fillable(
    ui.input_slider("slider", label="Slider", min=0, max=100, value=50),
    ui.p("Paragraph 1", class_="bg-dark"),
    ui.p("Paragraph 2", class_="bg-dark")
)

app = App(app_ui, None)
Screenshot 2023-12-06 at 4 58 21 PM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions