Repository navigation
fix: always open git panel from the right, full width on mobile - #22718
Merged
Merged
Conversation
Previously on viewports below xl the git/changes panel expanded as a bottom sheet (h-[42dvh]). This changes it to always slide in from the right side: - Parent container is always flex-row (not flex-col below xl) - Panel is w-[100vw] on mobile (<sm) so it goes full width - At sm+ it uses the persisted --panel-width with min 360px / max 70vw - Drag handle is enabled at sm+ instead of only xl+
DanielleMaywood
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On small viewports (below
xl) the git/changes panel was expanding as a bottom sheet. This changes it to always appear from the right side:sm/640px): Panel opens full-width (w-[100vw]) as a right-side overlaysm+ (640px+): Panel uses the persisted width (--panel-width) with min 360px / max 70vw, drag handle enabledflex-rowinstead offlex-col xl:flex-rowChanges
AgentDetail.tsx: Removedflex-col xl:flex-rowresponsive switch, always usesflex-rowRightPanel.tsx: Replaced bottom-sheet layout (h-[42dvh]) with right-side panel at all breakpoints. Full viewport width belowsm, resizable width atsm+. Drag handle activates atsminstead ofxl.