Fix terminal chat input background

Fixes microsoft/vscode-copilot#4535
This commit is contained in:
Daniel Imms 2024-03-18 16:08:35 -07:00
parent 85421b6a3b
commit d56e1ee5a0
No known key found for this signature in database
GPG key ID: 5F0FF45B19E3A5D2
2 changed files with 9 additions and 3 deletions

View file

@ -35,9 +35,10 @@
border-right-width: 0; /* no border when main editor area is hiden */
}
.monaco-workbench .part.panel > .content .monaco-editor:not(.ignore-panel-bg),
.monaco-workbench .part.panel > .content .monaco-editor:not(.ignore-panel-bg) .margin,
.monaco-workbench .part.panel > .content .monaco-editor:not(.ignore-panel-bg) .monaco-editor-background {
.monaco-workbench .part.panel > .content .monaco-editor,
.monaco-workbench .part.panel > .content .monaco-editor .margin,
.monaco-workbench .part.panel > .content .monaco-editor .monaco-editor-background {
/* THIS DOESN'T WORK ANYMORE */
background-color: var(--vscode-panel-background);
}

View file

@ -22,3 +22,8 @@
.terminal-inline-chat .chatMessageContent .value {
padding-top: 10px;
}
.terminal-inline-chat .inline-chat-input .monaco-editor-background {
/* Override the global panel rule for monaco backgrounds */
background-color: var(--vscode-inlineChatInput-background) !important;
}