Fix layout of work item drawer when Panels view is off
What does this MR do and why?
Conditionally restore the viewport-based queries that control work item drawer width when the new paneled view is turned off.
References
Screenshots or screen recordings
| Size | Before | After |
|---|---|---|
xs (<576px) |
![]() |
![]() |
sm (>=576px) |
![]() |
![]() |
md (>=768px) |
![]() |
![]() |
lg (>=992px) |
![]() |
![]() |
xl (>=1200px) |
![]() |
![]() |
How to set up and validate locally
- Check out this branch
- Ensure you have the new UI turned off
- Visit a work item that has either child work items or linked work items
- Click on a child item or linked item to open it in a drawer
- Ensure you have the left sidebar expanded
- resize your window to about 1200px
- The drawer will not be full-width underneath the left nav
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.









