Skip to content

sessions - fix chat input padding when space is narrow#299927

Merged
bpasero merged 3 commits intomainfrom
copilot/geographical-koala
Mar 7, 2026
Merged

sessions - fix chat input padding when space is narrow#299927
bpasero merged 3 commits intomainfrom
copilot/geographical-koala

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Mar 7, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 7, 2026 08:27
@bpasero bpasero self-assigned this Mar 7, 2026
@bpasero bpasero added this to the 1.112.0 milestone Mar 7, 2026
@bpasero bpasero changed the title Merging copilot/geographical-koala to main sessions - fix padding when space is narrow Mar 7, 2026
@bpasero bpasero changed the title sessions - fix padding when space is narrow sessions - fix chat input padding when space is narrow Mar 7, 2026
lszomoru
lszomoru previously approved these changes Mar 7, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the Agent Sessions window chat layout styling (vs/sessions) to add consistent horizontal padding to centered chat content, improving edge spacing while keeping a fixed max-width layout.

Changes:

  • Add horizontal padding to .interactive-item-container and .chat-suggest-next-widget.
  • Update .interactive-input-part padding to match and add box-sizing: border-box.
Comments suppressed due to low confidence (1)

src/vs/sessions/browser/media/style.css:66

  • Same as above: with max-width: 950px and default box-sizing: content-box, the added horizontal padding will make this element exceed 950px total width (content + padding). Add box-sizing: border-box here too (or adjust structure) to keep widths aligned across the chat layout.
.agent-sessions-workbench .interactive-session > .chat-suggest-next-widget {
	max-width: 950px;
	margin: 0 auto;
	padding-left: 12px;
	padding-right: 12px;
}

Copy link
Contributor

Copilot AI commented Mar 7, 2026

@bpasero I've opened a new pull request, #299930, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* style - add box-sizing: border-box to item containers to align with input

Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@bpasero bpasero enabled auto-merge (squash) March 7, 2026 12:38
@bpasero bpasero merged commit 8dd5e19 into main Mar 7, 2026
24 checks passed
@bpasero bpasero deleted the copilot/geographical-koala branch March 7, 2026 16:52
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.

4 participants