Skip to content

Commit

Permalink
remove extra margin/padding for CC (#172650)
Browse files Browse the repository at this point in the history
refs #157437
  • Loading branch information
sbatten authored Jan 30, 2023
1 parent b1a4dfd commit 8cd2eb1
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
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

0 comments on commit 8cd2eb1

Please sign in to comment.