Skip to content

shiny.express.ui.card doesn't render card items properly #948

@cpsievert

Description

@cpsievert

For example:

from shiny.express import ui

with ui.card():
    ui.card_header("Header")
    "Body"
Screenshot 2023-12-28 at 3 22 47 PM

Both the header and the body are being wrapped in a .card-body, which is leading to the extra, unwanted, padding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions