Skip to content

Set breakpoint to switch mobile interface #1549

@wichaivitpat

Description

@wichaivitpat

Description

I use Puck in component in website (iframe) but interface it's not suitable for small desktops.I see mobile interface in puck version 0.21.0 i want to use mobile interface in 1140px (width at puck component) but i can't set breakpoint to switch interface

Image

Proposals

Proposal 1

Introduce mobileBreakpoint props for the puck configuration

<Puck
   config={...}
   viewports={[...]}
   metadata={...}
   overrides={...}
   mobileBreakpoint={1140} // or mobileBreakpoint={"1140px"}
/>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions