Skip to content

Commit

Permalink
SCM inputBox menu css fixes (#195546)
Browse files Browse the repository at this point in the history
  • Loading branch information
lszomoru authored Oct 13, 2023
1 parent 7729a82 commit 269bece
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/vs/workbench/contrib/scm/browser/media/scm.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,16 @@
flex-grow: 100;
}

.scm-view .monaco-list .monaco-list-row .scm-input > .actions,
.scm-view .monaco-list .monaco-list-row .resource-group > .actions,
.scm-view .monaco-list .monaco-list-row .resource > .name > .monaco-icon-label > .actions {
display: none;
max-width: fit-content;
}

.scm-view .monaco-list .monaco-list-row:hover .scm-input > .actions,
.scm-view .monaco-list .monaco-list-row.selected .scm-input > .actions,
.scm-view .monaco-list .monaco-list-row.focused .scm-input > .actions,
.scm-view .monaco-list .monaco-list-row:hover .resource-group > .actions,
.scm-view .monaco-list .monaco-list-row.selected .resource-group > .actions,
.scm-view .monaco-list .monaco-list-row.focused .resource-group > .actions,
Expand All @@ -227,6 +231,7 @@
}

.scm-view.show-actions .scm-provider > .actions,
.scm-view.show-actions > .monaco-list .monaco-list-row .scm-input > .actions,
.scm-view.show-actions > .monaco-list .monaco-list-row .resource-group > .actions,
.scm-view.show-actions > .monaco-list .monaco-list-row .resource > .name > .monaco-icon-label > .actions {
display: block;
Expand All @@ -244,10 +249,14 @@

.scm-view .scm-input .actions {
position: absolute;
top: 6px;
top: 7px;
right: 20px;
border: 1px solid var(--vscode-toolbar-hoverBackground);
}

.scm-view .scm-input .actions .action-label {
border-radius: 5px;
outline: 1px dashed var(--vscode-toolbar-hoverOutline);
outline-offset: -1px;
}

.scm-view .scm-editor-container .monaco-editor {
Expand Down

0 comments on commit 269bece

Please sign in to comment.