Repository navigation
Description
Summary
The central pane retains wide-layout styles when its available width becomes narrow because of the docked Concierge side panel or the left-hand navigation (LHN).
Follow-up to Resizable side panel — Basic drag logic, requested in this comment. This is reported to already occur in production near the 1300px docking breakpoint; the resizable side panel makes it easier to reproduce. It is not a new regression introduced by that PR.
Issue reported by: Krishna2323
Version Number: Not provided
Reproducible in staging?: Not independently verified
Reproducible in production?: Yes, per the production report; not independently verified here.
Action Performed
- On desktop web, open an expense report containing a potential-duplicate banner and a report table, with the LHN visible.
- Open the docked Concierge side panel.
- Narrow the browser window toward the approximately 1300px docking breakpoint, or use the resizable side panel to leave the central pane approximately 400px wide while the overall window remains in its wide layout.
- Observe the duplicate banner and report table.
- Widen the central pane again to check the transition back to wide styles.
Expected Result
The central pane should switch to narrow (mobile) styles based on its actual available width once it becomes narrow enough, and return to wide styles when space is available. Transitions should be smooth, without flicker or layout oscillation. The duplicate banner should remain readable and the report content usable.
Design confirmed the narrow-layout behavior, provided the transition is smooth.
Actual Result
The central pane continues using wide-layout styles even at approximately 400px. The duplicate banner wraps roughly one word per line, and report table columns are cut off.
Technical Context
src/hooks/useResponsiveLayout/index.ts:73 computes shouldUseNarrowLayout from isSmallScreenWidth || isInNarrowPaneModal, rather than the central pane's actual width. Investigate pane-width-aware responsive behavior, including space consumed by the docked side panel and LHN. This follow-up is separate from enforcing the central pane's minimum width in the resizable-side-panel PR.
Acceptance Criteria
- Narrow central panes use appropriate narrow/mobile styles even when the browser window is wide.
- Duplicate banners remain readable and report content adapts rather than being cut off by wide-layout styling.
- Resizing the window or side panel, and opening/closing the side panel or LHN, update the layout smoothly in both directions.
- Existing full-width and RHP responsive behavior is preserved.
Workaround
Not independently verified; widening the central pane or closing the docked side panel may avoid the cramped layout.
Platforms
Reported on desktop web; specific OS/browser not provided. No independent runtime testing performed for this issue creation.

Activity
cocvn157 commentedon Nov 15, 2026
JS00001 commentedon Nov 16, 2026
@war-in are you able to work on this one?
war-in commentedon Nov 16, 2026
@JS00001 yes, it's on my list 🫡 I'll pick it up once higher-prio ones are handled