Repository navigation
Center Copilot access messages in Settings - #23205
Merged
Merged
Conversation
The July settings layout refactor moved padding into a scroll container the access states do not use. Give those states a dedicated padded, scrollable layout so their message and action sit in the center of the pane.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the Copilot access-screen layout changes.
No open issues 🎉
What changed in this PR
Restores spacing for Copilot access messages after the layout refactor in #22557, without changing access checks, model settings, or account behavior.
Changes:
- Gives the access screen a dedicated layout with padding and centered content.
- Keeps access messages and actions scrollable when space is limited.
| File | Description |
|---|---|
app/styles/ui/_copilot-preferences.scss |
Adds padding, centering, and vertical scrolling for the access screen. |
app/src/ui/preferences/copilot.tsx |
Applies the dedicated access-state class to the message container. |
Review effort: Balanced
babakks
approved these changes
Nov 19, 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.
No linked issue.
Description
npm test -- app/test/unit/ui/copilot-preferences-test.tsx(48 passed) andtsc --noEmit -p tsconfig.json(passed) on3bff961dd9. The earlier full unit run had five failures in Git tests outside the changed UI; four reproduced in a focused rerun.Screenshots
Captured in an isolated macOS Electron window with DevTools closed and a simulated Copilot-disabled account. The after image applies the markup and stylesheet changes in
3bff961dd9to the same renderer.Before
After
Release notes
Notes: [Fixed] Center access messages and buttons in Copilot settings.
Team-authored review
Evidence: Screenshots and validation under Description.
Review path: Lightweight review. Layout only; no changes to access checks or account behavior.