Skip to content

Prevent PR overview overflow in Agents window - #8937

Draft
Alex Ross (alexr00) with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-pr-view-width-issue
Draft

Prevent PR overview overflow in Agents window#8937
Alex Ross (alexr00) with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-pr-view-width-issue

Conversation

Copilot AI commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Opening a linked PR in the Agents window could expand the overview beyond the viewport, pushing the sidebar off-screen.

  • Layout containment
    • Allow the main grid column to shrink below its content’s intrinsic width.
    • Preserve existing sidebar sizing and responsive behavior.
grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  • Fixes #334797

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix overly wide PR view when opening link in new tab Prevent PR overview overflow in Agents window Sep 7, 2026

@alexr00 Alex Ross (alexr00) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot I still get a little bit of a horizontal scroll bar when oepning an issue webview from a PR webview.

@alexr00 Alex Ross (alexr00) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot try again

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Copilot try again

Addressed in 4419d67. Plain unbroken issue-body text now wraps; Chromium validation with the linked issue’s content shows no document overflow from 280px through 1400px viewports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opening PR in a new tab in Agents window results in overly wide PR view

2 participants