mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Use latest references accordion styles
This commit is contained in:
parent
a110db229e
commit
4b4eb7a000
|
@ -826,7 +826,7 @@ export class ChatListItemRenderer extends Disposable implements ITreeRenderer<Ch
|
|||
}));
|
||||
const container = $('.chat-used-context', undefined, buttonElement);
|
||||
collapseButton.label = referencesLabel;
|
||||
collapseButton.element.append(iconElement);
|
||||
collapseButton.element.prepend(iconElement);
|
||||
this.updateAriaLabel(collapseButton.element, referencesLabel, element.usedReferencesExpanded);
|
||||
container.classList.toggle('chat-used-context-collapsed', !element.usedReferencesExpanded);
|
||||
listDisposables.add(collapseButton.onDidClick(() => {
|
||||
|
|
|
@ -657,7 +657,7 @@
|
|||
.interactive-session .chat-used-context {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.interactive-response-progress-tree,
|
||||
|
@ -690,13 +690,21 @@
|
|||
.interactive-session .chat-used-context-label .monaco-button {
|
||||
/* unset Button styles */
|
||||
display: inline-flex;
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
border: none;
|
||||
padding: 0;
|
||||
border-radius: 4px;
|
||||
padding: 4px 8px 4px 0;
|
||||
text-align: initial;
|
||||
justify-content: initial;
|
||||
}
|
||||
|
||||
.interactive-session .chat-used-context-label .monaco-button:hover {
|
||||
background-color: var(--vscode-list-hoverBackground);
|
||||
color: var(--vscode-foreground);
|
||||
|
||||
}
|
||||
|
||||
.interactive-session .chat-used-context-label .monaco-text-button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue