Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove extra margin/padding for CC #172650

Merged
merged 1 commit into from Jan 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -127,7 +127,6 @@
/* Window Title Menu */
.monaco-workbench .part.titlebar > .titlebar-container > .titlebar-center > .window-title > .command-center {
z-index: 2500;
padding: 0 8px;
}

/* MacOS Desktop supports click event despite `drag` and therefore we don't need to clear it */
Expand Down Expand Up @@ -159,7 +158,7 @@
background-color: var(--vscode-commandCenter-background);
border: 1px solid var(--vscode-commandCenter-border);
overflow: hidden;
margin: 0 6px;
margin-left: 6px;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
border-top-right-radius: 6px;
Expand All @@ -169,6 +168,10 @@
max-width: 600px;
}

.monaco-workbench .part.titlebar > .titlebar-container > .titlebar-center > .window-title > .command-center .action-item.command-center:only-child {
margin-left: 0; /* no margin if there is only the command center, without nav buttons */
}

.monaco-workbench .part.titlebar.inactive > .titlebar-container > .titlebar-center > .window-title > .command-center .action-item.command-center {
color: var(--vscode-titleBar-inactiveForeground);
border-color: var(--vscode-commandCenter-inactiveBorder) !important;
Expand Down