Skip to content

Comments

Add min-width to agents welcome view to prevent text overlap#297070

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-chat-welcome-view-layout
Draft

Add min-width to agents welcome view to prevent text overlap#297070
Copilot wants to merge 2 commits intomainfrom
copilot/fix-chat-welcome-view-layout

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

When the editor area is narrow, the product name heading ("Visual Studio Code - Insiders") wraps with overlapping lines due to the content container shrinking without bound.

  • Add min-width: 350px to .agentSessionsWelcome-content so the layout never collapses below a usable width
  • Enable horizontal: ScrollbarVisibility.Auto on the DomScrollableElement so the view scrolls horizontally at extreme widths instead of clipping
Original prompt

This section details on the original issue you should resolve

<issue_title>Broken layout for new chat welcome view when not enough horizontal space</issue_title>
<issue_description>1. Open new chat welcome view
2. Reduce horisontal space
3. Notice broken rendering of Visual Studio Code Insiders and how letters overlap

cc @cwebster-99

Image</issue_description>

<agent_instructions>We should probably just add a min width to the agents welcome view</agent_instructions>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Fixes broken layout where the product name text overlaps when there's
not enough horizontal space. Adds min-width: 350px to the content
container and enables horizontal scrolling as a fallback.

Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix broken layout for new chat welcome view Add min-width to agents welcome view to prevent text overlap Feb 23, 2026
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.

Broken layout for new chat welcome view when not enough horizontal space

2 participants