Repository navigation
Fix right sidebar persistence on iPad landscape mode - #486
Conversation
…avior The left sidebar already had an iPad-specific fix to become persistent at 1024px+ instead of 1280px+. Apply the same logic to the right sidebar so both sidebars render as persistent panels on iPad landscape rather than overlay/sheet mode. https://claude.ai/code/session_016yT6CmMAp7za8dpRJ6JKp2
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe Layout component's responsive sidebar behavior is adjusted so both sidebars persist as non-overlays at tablet breakpoints (1024px+) rather than only the left sidebar. Right sidebar overlay logic now depends on tablet state, with updated wrapper classes and toggle flows. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR fixes the right sidebar (assistant panel) behavior on iPad landscape mode to be persistent at 1024px+, matching the left sidebar behavior. Previously, the right sidebar would only become persistent at 1280px+ on all platforms, creating an inconsistent experience on iPad.
Key Changes
shouldOverlayRightSidebarlogic to use the tablet-specific breakpoint (isSheetBreakpoint) when on iPad, making it persistent at 1024px+ in landscape mode!isSheetBreakpointcheck and applying responsive classes based on device tierImplementation Details
hidden xl:flexvsflex) based on whether the device is a tablet, ensuring proper display in persistent modehttps://claude.ai/code/session_016yT6CmMAp7za8dpRJ6JKp2
Summary by CodeRabbit