mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-29 00:46:00 +01:00
Merge pull request #289793 from microsoft/osortega/fixed-hyena
Small CSS tweaks to agents welcome view
This commit is contained in:
@@ -668,7 +668,16 @@ export class AgentSessionsWelcomePage extends EditorPane {
|
||||
}
|
||||
|
||||
private buildFooter(container: HTMLElement): void {
|
||||
const updateNoSessionsClass = () => {
|
||||
container.classList.toggle('no-sessions', this.agentSessionsService.model.sessions.length === 0);
|
||||
};
|
||||
// Set initial state
|
||||
updateNoSessionsClass();
|
||||
|
||||
// Keep footer in sync with session changes
|
||||
this.contentDisposables.add(this.agentSessionsService.model.onDidChangeSessions(() => {
|
||||
updateNoSessionsClass();
|
||||
}));
|
||||
// Privacy notice
|
||||
this.buildPrivacyNotice(container);
|
||||
|
||||
|
||||
+6
-1
@@ -69,7 +69,7 @@
|
||||
}
|
||||
|
||||
.agentSessionsWelcome-startEntry .codicon {
|
||||
color: var(--vscode-descriptionForeground);
|
||||
color: var(--vscode-descriptionForeground) !important;
|
||||
}
|
||||
|
||||
/* Chat widget section */
|
||||
@@ -318,6 +318,10 @@
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.agentSessionsWelcome-footer.no-sessions {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.agentSessionsWelcome-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -355,6 +359,7 @@
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
color: var(--vscode-descriptionForeground);
|
||||
margin-top: 36px;
|
||||
}
|
||||
|
||||
.agentSessionsWelcome-showOnStartup label {
|
||||
|
||||
Reference in New Issue
Block a user