Skip to content

fix: mobile layout breaks with sidebar overlap and horizontal overflow in Studio #1292

@Harsheetsharma

Description

@Harsheetsharma

Bug description

On mobile devices, the Studio layout breaks due to improper responsive handling.

Multiple issues are observed:

  • Sidebar overlaps main content
  • Content is pushed under the sidebar
  • Page overflows horizontally (scrolls to the right)
  • UI appears stretched and congested

Steps to reproduce

  1. Open https://studio.asyncapi.com on a mobile device (or DevTools mobile view)
  2. Navigate to any section (e.g. Operations)
  3. Open sidebar or interact with navigation
  4. Observe layout issues

Current behavior

  • Sidebar does not collapse properly
  • Main content is partially hidden
  • Horizontal scroll appears
  • Layout breaks visually

Expected behavior

  • Sidebar should behave as overlay or collapse properly
  • Content should remain fully visible
  • No horizontal overflow
  • Layout should be responsive on mobile

Screenshots

Image Image

Possible cause

  • Missing responsive breakpoints
  • Incorrect container width (likely 100vw or fixed width)
  • Sidebar not handled properly for mobile layout

Contribution

I can work on this issue and submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions