Skip to content

fix chat question carousel with title row and styling#298366

Merged
meganrogge merged 1 commit intomainfrom
changing-dragon
Feb 27, 2026
Merged

fix chat question carousel with title row and styling#298366
meganrogge merged 1 commit intomainfrom
changing-dragon

Conversation

@meganrogge
Copy link
Copy Markdown
Collaborator

fix #298362

Copilot AI review requested due to automatic review settings February 27, 2026 22:19
@meganrogge meganrogge enabled auto-merge (squash) February 27, 2026 22:19
@meganrogge meganrogge self-assigned this Feb 27, 2026
@meganrogge meganrogge added this to the March 2026 milestone Feb 27, 2026
Copy link
Copy Markdown
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

Fixes the chat question carousel header/titlebar layout regression reported in #298362 by introducing an explicit “title row” container and adjusting the header/title styling so the title and close button lay out correctly.

Changes:

  • Add a .chat-question-title-row wrapper to structure the header into a dedicated flex row for title + close button.
  • Update rendering to append the title and close button into the new title row, then mount that row into the header container.
  • Refactor/re-scope header/title CSS so markdown/title styling remains applied while supporting the new DOM structure.

Reviewed changes

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

File Description
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css Adds styling for the new title row and keeps title/markdown styling working within the updated header structure.
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.ts Updates header rendering to introduce a title-row element and place the title + close button within it.

Copy link
Copy Markdown
Collaborator

@daviddossett daviddossett left a comment

Choose a reason for hiding this comment

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

ty!

@meganrogge meganrogge merged commit 6eee773 into main Feb 27, 2026
24 checks passed
@meganrogge meganrogge deleted the changing-dragon branch February 27, 2026 22:35
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Apr 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chat: questions carousel titlebar layout is broken

3 participants