Skip to content

st.set_page_config(layout="wide") needs more padding #2426

@akrolsmir

Description

@akrolsmir

Add additional padding/margin around ReportView when in Wide Mode.

Dev notes:

  • Sadly not as simple as `if widemode, left/right padding = 5rem", for two reasons:
    • ReportView is used by the Sidebar as well, and we don't want to increase padding there
    • On mobile, we presumably don't want to add padding on left and right modes
  • Tried using max-width: calc(100% - 10rem) but that still runs afoul of the mobile and sidebar issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions