Refactor UI spacing for improved consistency#305667
Merged
mrleemurray merged 9 commits intomainfrom Mar 27, 2026
Merged
Conversation
…s UI Co-authored-by: Copilot <copilot@github.com>
…ng for new button container
…cy across UI components Co-authored-by: Copilot <copilot@github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Refactors spacing (margins/padding) across the Agent Sessions window UI to improve visual consistency, including card-like part margins, list/container padding, and footer spacing.
Changes:
- Standardize card margins for chat bar / auxiliary bar / panel and align related inner paddings.
- Adjust padding/margins in sessions lists, welcome, toolbars, and changes/CI widgets to reduce horizontal inset.
- Hide the account update container when the update button is hidden, and tweak the Changes tree configuration for spacing.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/vs/sessions/contrib/sessions/browser/media/sessionsViewPane.css | Adjusts new-session button container padding to match updated spacing. |
| src/vs/sessions/contrib/sessions/browser/media/sessionsList.css | Increases horizontal padding for the sessions list scroll area. |
| src/vs/sessions/contrib/sessions/browser/media/customizationsToolbar.css | Tweaks toolbar margin to align with the new 10px spacing baseline. |
| src/vs/sessions/contrib/chat/browser/media/chatWelcomePart.css | Reduces welcome part horizontal padding for consistency. |
| src/vs/sessions/contrib/changes/browser/media/ciStatusWidget.css | Removes/adjusts horizontal padding to make CI rows/header align with the new layout. |
| src/vs/sessions/contrib/changes/browser/media/changesView.css | Updates header padding to reduce horizontal inset. |
| src/vs/sessions/contrib/changes/browser/changesView.ts | Sets tree options (notably indent) to change visual spacing of the changes tree. |
| src/vs/sessions/contrib/accountMenu/browser/media/accountWidget.css | Hides update container when the update button is hidden (via :has). |
| src/vs/sessions/browser/parts/sidebarPart.ts | Reduces footer bottom margin constant to match new footer spacing. |
| src/vs/sessions/browser/parts/panelPart.ts | Updates margin constants used for panel card-like layout. |
| src/vs/sessions/browser/parts/media/sidebarPart.css | Updates sidebar footer padding/margins and inset border alignment. |
| src/vs/sessions/browser/parts/chatBarPart.ts | Updates chat bar margin constants used for layout sizing. |
| src/vs/sessions/browser/parts/auxiliaryBarPart.ts | Updates auxiliary bar margin constants used for layout sizing. |
| src/vs/sessions/browser/media/style.css | Updates card margins/paddings and starting-style animation margins for the new spacing baseline. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t.css Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
lszomoru
previously approved these changes
Mar 27, 2026
bpasero
approved these changes
Mar 27, 2026
lszomoru
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adjust margins and padding across various UI components to enhance layout consistency and visual appeal. This includes updates to card-like components, footers, and interactive elements. The changes aim to create a more cohesive user experience.