Merge pull request #289793 from microsoft/osortega/fixed-hyena

Small CSS tweaks to agents welcome view
This commit is contained in:
Osvaldo Ortega
2026-01-22 18:48:28 -08:00
committed by GitHub
2 changed files with 15 additions and 1 deletions
@@ -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);
@@ -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 {