Repository navigation
Style overrides: Adjust status bar padding for floating panels - #325962
Merged
Lee Murray (mrleemurray) merged 2 commits intoJul 15, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
…panels Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts Modern UI status-bar spacing to align with compact, regular, and hidden activity bars.
Changes:
- Adds activity-bar-state-aware status-bar insets.
- Refines edge-item padding.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
floatingPanels.css |
Adjusts floating status-bar gutters. |
statusBar.css |
Refines trailing status-item padding. |
| /* With a compact activity bar the horizontal inset is tightened to match. The | ||
| * `compact` class lives on the activity bar element, so `:has()` lets the status | ||
| * bar (a sibling part) react without any code-side class plumbing. */ | ||
| .monaco-workbench.floating-panels:has(.part.activitybar.compact) .part.statusbar { |
| * split view toggles. With no bar to align to, fall back to the standard 4px | ||
| * inset. This has higher specificity than the compact rule above, so a hidden | ||
| * compact bar still resolves to 4px. */ | ||
| .monaco-workbench.floating-panels:has(.split-view-view:not(.visible) .part.activitybar) .part.statusbar { |
| background-image: linear-gradient(var(--vscode-toolbar-hoverBackground), var(--vscode-toolbar-hoverBackground)); | ||
| } | ||
|
|
||
| .style-override .part.statusbar > .items-container > .statusbar-item.right.last-visible-item > .statusbar-item-label { |
Don Jayamanne (DonJayamanne)
approved these changes
Jul 15, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Improve the status bar padding for better alignment in floating panels, accommodating scenarios with a hidden activity bar and ensuring consistent spacing.
Fixes #325761